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

determine how to read in more properties from state file #961

Closed
jhsinger-klotho opened this issue Mar 8, 2024 · 0 comments
Closed

determine how to read in more properties from state file #961

jhsinger-klotho opened this issue Mar 8, 2024 · 0 comments
Assignees

Comments

@jhsinger-klotho
Copy link
Contributor

because we cant read in the availability zone from the state files we try to solve subnet -> region which leads to

{"level":"error","ts":1709827856.219598,"logger":"engine","msg":"Engine returned error: failed to evaluate group 4: failed to evaluate aws:availability_zone:region:stackpacks-private-subnet-1-region#Index: could not get default value for aws:availability_zone:region:stackpacks-private-subnet-1-region#Index: strconv.Atoi: parsing \"stackpacks-private-subnet-1-region\": invalid syntax"}

there are 3 major issues here

  1. The properties we label as being of type 'Resource' dont map to iac
  2. the AZ template requires specific naming to be accurate
  3. we have to explicitly add the subnet -> region edge because imports cant create resources and the way region gets created is subnet -> az -> region leading us to path expand

For now we have allowed adding explicit edges if both are imported for contextual purposes

@jhsinger-klotho jhsinger-klotho self-assigned this Mar 12, 2024
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

No branches or pull requests

2 participants