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

Add checks and plan timestamp for Terraform v1.5 #87

Merged
merged 3 commits into from
May 17, 2023

Conversation

liamcervante
Copy link
Member

This PR:

  1. Adds the conditional check results into the plan and state.
  2. Adds the plan timestamp constant into the plan.

We are launching v1.5 into beta soon, and these are two features that should be supported in terraform-json.

@liamcervante liamcervante requested review from a team as code owners May 11, 2023 12:28
Copy link
Member

@radeksimko radeksimko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aside from that one in-line note LGTM.

checks.go Outdated
Comment on lines 78 to 89
type CheckDynamicAddress struct {
// ToDisplay is a formatted and ready to display representation of the
// full address, including the additional information from the relevant
// CheckStaticAddress.
ToDisplay string `json:"to_display"`

// InstanceKey is the instance key for any instances of a given resource.
//
// InstanceKey will be empty if there was no foreach or count argument
// defined on the containing object.
InstanceKey string `json:"instance_key,omitempty"`
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done! Don't know how I missed it!

@liamcervante liamcervante merged commit c597f9d into main May 17, 2023
@liamcervante liamcervante deleted the liamcervante/terraform_1_5 branch May 17, 2023 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants