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

[bug] object does not have an attribute named "global_settings_key" #445

Open
nusrath432 opened this issue Jan 23, 2023 · 0 comments
Open
Labels
bug Something isn't working

Comments

@nusrath432
Copy link

nusrath432 commented Jan 23, 2023

object does not have an attribute named "global_settings_key"
This bug is introduced by the commit 4c2da76

To Reproduce
To reproduce define a landingzone.tfvars without global_settings_key = "" especially this key is not required when we are not using any global_settings or prefixes from other landingzone i.e using custom_variables = {} block instead of global_settings = {} block.

Expected behavior
If not defined, it should ignore.
try(data.terraform_remote_state.remote[var.landingzone.global_settings_key].outputs.tfstates, {})

@nusrath432 nusrath432 added the bug Something isn't working label Jan 23, 2023
@nusrath432 nusrath432 changed the title [bug] object does not have an attribute named "global_settings_key". [bug] object does not have an attribute named "global_settings_key" Jan 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant