You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hasicorp announced a number of improvements that will come to Terraform 0.12 including 1:1 mapping of Terraform HCL parameters and the tfstate JSON file. PyTerraBackTYL does some automated parsing of the state file (specifically to gather hostnames) which may break depending on how significantly the JSON format changes.
The fix here will be mostly (if not completely) a configuration change: The JSON paths defined in the HELPER_HOSTNAME_QUERY_MAP configuration item of config.yaml will need to be updated to match the new hostname locations.
In addition to the configuration change, the hard-coded JSON path in abc_tylstore.TYLHelpers.get_hostnames_from_tfstate(), which is used to identify the provider type, may also need updated.
The text was updated successfully, but these errors were encountered:
Regarding Terraform version being misreported, see Terraform issue 21379. The work-around for now is to start with brand new Terraform environment and then the version should be correctly reported as 0.12 in the state file.
Terraform 0.12 was released when I wasn't looking. A quick fix now exists in the 'beta' branch. See changes to config.yaml and abc_tylstore.TYLHelpers.
You should apply the changes in the beta branch if you are using Terraform 0.12 AND you use the TYLHelpers.get_hostnames_from_tfstate() funciton. Note that the mentioned function is used in the Slack plugin.
Hasicorp announced a number of improvements that will come to Terraform 0.12 including 1:1 mapping of Terraform HCL parameters and the tfstate JSON file. PyTerraBackTYL does some automated parsing of the state file (specifically to gather hostnames) which may break depending on how significantly the JSON format changes.
Reference:
https://www.hashicorp.com/blog/terraform-0-1-2-preview
The fix here will be mostly (if not completely) a configuration change: The JSON paths defined in the
HELPER_HOSTNAME_QUERY_MAP
configuration item of config.yaml will need to be updated to match the new hostname locations.In addition to the configuration change, the hard-coded JSON path in
abc_tylstore.TYLHelpers.get_hostnames_from_tfstate()
, which is used to identify the provider type, may also need updated.The text was updated successfully, but these errors were encountered: