aws/docs: Fix wrong field name (parent_resource_id -> parent_id)
This commit is contained in:
parent
a338eae72a
commit
b12d906258
|
@ -20,7 +20,7 @@ resource "aws_api_gateway_rest_api" "MyDemoAPI" {
|
|||
|
||||
resource "aws_api_gateway_resource" "MyDemoResource" {
|
||||
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"
|
||||
}
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ resource "aws_api_gateway_rest_api" "MyDemoAPI" {
|
|||
|
||||
resource "aws_api_gateway_resource" "MyDemoResource" {
|
||||
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"
|
||||
}
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ resource "aws_api_gateway_rest_api" "MyDemoAPI" {
|
|||
|
||||
resource "aws_api_gateway_resource" "MyDemoResource" {
|
||||
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"
|
||||
}
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ resource "aws_api_gateway_rest_api" "MyDemoAPI" {
|
|||
|
||||
resource "aws_api_gateway_resource" "MyDemoResource" {
|
||||
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"
|
||||
}
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ resource "aws_api_gateway_rest_api" "MyDemoAPI" {
|
|||
|
||||
resource "aws_api_gateway_resource" "MyDemoResource" {
|
||||
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"
|
||||
}
|
||||
```
|
||||
|
@ -30,7 +30,7 @@ resource "aws_api_gateway_resource" "MyDemoResource" {
|
|||
The following arguments are supported:
|
||||
|
||||
* `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
|
||||
|
||||
## Attributes Reference
|
||||
|
|
Loading…
Reference in New Issue