Skip to content
This repository has been archived by the owner on Jul 26, 2024. It is now read-only.

[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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant