hashicorp / terraform-provider-awscc

Terraform AWS Cloud Control provider
https://registry.terraform.io/providers/hashicorp/awscc/latest/docs
Mozilla Public License 2.0
264 stars 121 forks source link

Top-level attributes that conflict with Terraform meta arguments #140

Closed ewbankkit closed 8 months ago

ewbankkit commented 3 years ago

Terraform has a handful of meta-arguments such as provider that can conflict with top-level properties defined in CloudFormation schemas. In fact the awscc_networkmanager_link resource has such a conflicting provider attribute.

  1. Verify with Terraform Core that such a conflict exists
  2. Determine how many resources are affected
  3. Come up with a plan on how to handle these

Relates:

ewbankkit commented 3 years ago

awscc_networkmanager_link is the only resource that this applies to. For now, suppress generation.

ewbankkit commented 2 years ago

In https://github.com/hashicorp/terraform-provider-aws/pull/13251 the corresponding attribute is named provider_name.

ewbankkit commented 8 months ago

There are 4 resources with a top-level Provider property:

The aws_codepipeline_custom_action_type and aws_networkmanager_link resources name this attribute provider_name. There are not yet any corresponding DataZone resources in terraform-provider-aws.