[Docs]: https://registry.terraform.io/providers/hashicorp/aws/5.19.0/docs/resources/cloudformation_stack_set_instance #34067
Labels
documentation
Introduces or discusses updates to documentation.
service/cloudformation
Issues and PRs that pertain to the cloudformation service.
Documentation Link
https://registry.terraform.io/providers/hashicorp/aws/5.19.0/docs/resources/cloudformation_stack_set_instance
Description
resource "aws_cloudformation_stack_set_instance" "example" {
deployment_targets {
organizational_unit_ids = [data.aws_organizations_organization.example.roots[0].id]
}
region = "eu-west-2"
stack_set_name = aws_cloudformation_stack_set.example.name
}
This inference to the documentation shows above However this gives error in creation, stack_set_name should read aws_cloudformation_stack_set.example.id as per attributes refrences decleared in aws_cloudformation_stack_set (https://registry.terraform.io/providers/hashicorp/aws/5.19.0/docs/resources/cloudformation_stack_set)
References
https://registry.terraform.io/providers/hashicorp/aws/5.19.0/docs/resources/cloudformation_stack_set_instance
https://registry.terraform.io/providers/hashicorp/aws/5.19.0/docs/resources/cloudformation_stack_set
No response
Would you like to implement a fix?
yes fix should be
resource "aws_cloudformation_stack_set_instance" "example" {
deployment_targets {
organizational_unit_ids = [data.aws_organizations_organization.example.roots[0].id]
}
region = "eu-west-2"
stack_set_name = aws_cloudformation_stack_set.example.name
}
None
The text was updated successfully, but these errors were encountered: