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

Write-only properties #42

Closed
ewbankkit opened this issue Jul 14, 2021 · 0 comments · Fixed by #86
Closed

Write-only properties #42

ewbankkit opened this issue Jul 14, 2021 · 0 comments · Fixed by #86
Assignees
Labels
runtime-handling Relates to runtime handling and conversion of Terraform configuration to CloudFormation.
Milestone

Comments

@ewbankkit
Copy link
Contributor

ewbankkit commented Jul 14, 2021

Description

The CloudFormation resource type schemas write-only. These are properties, such as passwords, that can be specified on resource creation but aren't returned when reading the current state of the resource.

In this provider's generic Read handler, the new Terraform state value is constructed from the returned CloudFormation ResourceModel without regard for any write-only properties.
Write-only properties should be copied from the prior Terraform state value into the new state value.

This will involved capturing the paths to all write-only properties during schema code generation and retaining this information in the generic resource type structure.

Definition of Done

@breathingdust breathingdust added this to the v0.1.0 milestone Jul 28, 2021
@breathingdust breathingdust added the runtime-handling Relates to runtime handling and conversion of Terraform configuration to CloudFormation. label Jul 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
runtime-handling Relates to runtime handling and conversion of Terraform configuration to CloudFormation.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants