aws/docs: Fix wrong field name (parent_resource_id -> parent_id)

This commit is contained in:
Radek Simko 2016-03-06 09:14:46 +00:00
parent a338eae72a
commit b12d906258
5 changed files with 6 additions and 6 deletions

View File

@ -20,7 +20,7 @@ resource "aws_api_gateway_rest_api" "MyDemoAPI" {
resource "aws_api_gateway_resource" "MyDemoResource" { resource "aws_api_gateway_resource" "MyDemoResource" {
rest_api_id = "${aws_api_gateway_rest_api.MyDemoAPI.id}" rest_api_id = "${aws_api_gateway_rest_api.MyDemoAPI.id}"
parent_resource_id = "${aws_api_gateway_rest_api.MyDemoAPI.root_resource_id}" parent_id = "${aws_api_gateway_rest_api.MyDemoAPI.root_resource_id}"
path_part = "mydemoresource" path_part = "mydemoresource"
} }

View File

@ -20,7 +20,7 @@ resource "aws_api_gateway_rest_api" "MyDemoAPI" {
resource "aws_api_gateway_resource" "MyDemoResource" { resource "aws_api_gateway_resource" "MyDemoResource" {
rest_api_id = "${aws_api_gateway_rest_api.MyDemoAPI.id}" rest_api_id = "${aws_api_gateway_rest_api.MyDemoAPI.id}"
parent_resource_id = "${aws_api_gateway_rest_api.MyDemoAPI.root_resource_id}" parent_id = "${aws_api_gateway_rest_api.MyDemoAPI.root_resource_id}"
path_part = "mydemoresource" path_part = "mydemoresource"
} }

View File

@ -20,7 +20,7 @@ resource "aws_api_gateway_rest_api" "MyDemoAPI" {
resource "aws_api_gateway_resource" "MyDemoResource" { resource "aws_api_gateway_resource" "MyDemoResource" {
rest_api_id = "${aws_api_gateway_rest_api.MyDemoAPI.id}" rest_api_id = "${aws_api_gateway_rest_api.MyDemoAPI.id}"
parent_resource_id = "${aws_api_gateway_rest_api.MyDemoAPI.root_resource_id}" parent_id = "${aws_api_gateway_rest_api.MyDemoAPI.root_resource_id}"
path_part = "mydemoresource" path_part = "mydemoresource"
} }

View File

@ -20,7 +20,7 @@ resource "aws_api_gateway_rest_api" "MyDemoAPI" {
resource "aws_api_gateway_resource" "MyDemoResource" { resource "aws_api_gateway_resource" "MyDemoResource" {
rest_api_id = "${aws_api_gateway_rest_api.MyDemoAPI.id}" rest_api_id = "${aws_api_gateway_rest_api.MyDemoAPI.id}"
parent_resource_id = "${aws_api_gateway_rest_api.MyDemoAPI.root_resource_id}" parent_id = "${aws_api_gateway_rest_api.MyDemoAPI.root_resource_id}"
path_part = "mydemoresource" path_part = "mydemoresource"
} }

View File

@ -20,7 +20,7 @@ resource "aws_api_gateway_rest_api" "MyDemoAPI" {
resource "aws_api_gateway_resource" "MyDemoResource" { resource "aws_api_gateway_resource" "MyDemoResource" {
rest_api_id = "${aws_api_gateway_rest_api.MyDemoAPI.id}" rest_api_id = "${aws_api_gateway_rest_api.MyDemoAPI.id}"
parent_resource_id = "${aws_api_gateway_rest_api.MyDemoAPI.root_resource_id}" parent_id = "${aws_api_gateway_rest_api.MyDemoAPI.root_resource_id}"
path_part = "mydemoresource" path_part = "mydemoresource"
} }
``` ```
@ -30,7 +30,7 @@ resource "aws_api_gateway_resource" "MyDemoResource" {
The following arguments are supported: The following arguments are supported:
* `rest_api_id` - (Required) API Gateway ID * `rest_api_id` - (Required) API Gateway ID
* `parent_resource_id` - (Required) Parent resource ID * `parent_id` - (Required) Parent resource ID
* `path_part` - (Required) The resource path * `path_part` - (Required) The resource path
## Attributes Reference ## Attributes Reference