hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.77k stars 9.13k forks source link

[Enhancement]: In names_data.hcl reverse skip_client_generate to skip_generate_client #38116

Open ThomasZalewski opened 3 months ago

ThomasZalewski commented 3 months ago

Description

Currently in names_data.hcl, skip_client_generate is a double negative when it is marked as false which should be avoided to make the file more clear and easier to read. This should be done by changing skip_client_generate to generate_client and marking services where generate_client is false with generate_client = false and excluding the attribute where it is true. Along with this change, names/README.md will have to be updated with this new schema.

Affected Resource(s) and/or Data Source(s)

names/data/names_data.hcl and generation of services

Potential Terraform Configuration

client {
    go_v1_client_typename = ""
    generate_client  = false
  }

References

https://github.com/hashicorp/terraform-provider-aws/pull/37960#discussion_r1640238136

Would you like to implement a fix?

None

github-actions[bot] commented 3 months ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue