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 | Should key name be changed? #553

Open
juanmatias opened this issue Feb 19, 2024 · 0 comments
Open

BUG | Should key name be changed? #553

juanmatias opened this issue Feb 19, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@juanmatias
Copy link
Contributor

Describe the Bug

The key name for cost-mgmt layer here is root/cost-mgmt/terraform.tfstate.

If downloading the layer to management account (where it is supposed to be), it produces an error:

[17:45:53.730] INFO     Found: 'root/cost-mgmt/terraform.tfstate'                                                                       
               INFO     Expected one of: management/cost-mgmt/terraform.tfstate;management/cost-mgmt-dr/terraform.tfstate;management/glo
                        bal/cost-mgmt/terraform.tfstate;management/global/cost-mgmt-dr/terraform.tfstate                                
[17:45:53.731] ERROR    ✘ FAILED 

Should we change it in the RefArch (and for the case look for other keys in the same situation)?

Expected Behavior

It not failing.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Download the layer to your project's management account
  2. Run leverage tf init

Additional Context

In a green-field binbash Leverage project, changing this key to start with management does not fail.

@juanmatias juanmatias added the bug Something isn't working label Feb 19, 2024
@juanmatias juanmatias self-assigned this Feb 19, 2024
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