Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resource Suppression: error creating write-only attribute path #1521

Open
breathingdust opened this issue Apr 4, 2024 · 1 comment
Open
Labels
bug resource-suppression Issue that prevents a resource from being generated.

Comments

@breathingdust
Copy link
Member

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment
  • The resources and data sources in this provider are generated from the CloudFormation schema, so they can only support the actions that the underlying schema supports. For this reason submitted bugs should be limited to defects in the generation and runtime code of the provider. Customizing behavior of the resource, or noting a gap in behavior are not valid bugs and should be submitted as enhancements to AWS via the CloudFormation Open Coverage Roadmap.

Description

These resources present a similar error: "error creating write-only attribute path" which prevents generation.

New or Affected Resource(s)

  • aws_elasticloadbalancingv2_listener
error creating write-only attribute path (/properties/DefaultActions/*/AuthenticateOidcConfig/ClientSecret): invalid property path segment: "*"
  • aws_elasticloadbalancingv2_listener_rule
 error creating write-only attribute path (/properties/Actions/*/AuthenticateOidcConfig/ClientSecret): invalid property path segment: "*"
  • aws_events_connection
  # error creating write-only attribute path (/definitions/BasicAuthParameters/Password): expected "properties" for the second property path segment, got: "definitions"

References

@breathingdust breathingdust added bug resource-suppression Issue that prevents a resource from being generated. labels Apr 4, 2024
@wellsiau-aws
Copy link
Collaborator

note that aws_events_connection now have a proper type for attribute Password : https://github.com/hashicorp/terraform-provider-awscc/blob/main/internal/service/cloudformation/schemas/AWS_Events_Connection.json#L48-L50

the rest of resources is still problematic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug resource-suppression Issue that prevents a resource from being generated.
Projects
None yet
Development

No branches or pull requests

2 participants