Skip to content

Issue 141 s3 key multi region support - #149

Merged
juanmatias merged 16 commits into
masterfrom
ISSUE-141-s3-key-multi-region-support
Jan 13, 2023
Merged

juanmatias merged 16 commits into
masterfrom
ISSUE-141-s3-key-multi-region-support

Conversation

@juanmatias

@juanmatias juanmatias commented Dec 14, 2022 •

Copy link
Copy Markdown
Contributor

What?

  • S3 keys
    • accept keys with region
    • generate key when the key line in the tf file is missing (the s3 backend line has to be there anyway)
    • accept more versions of the key to match refarch v1 and v2
  • test-build workflow allows alpha and beta besides rc
  • toolbox version fixed to __toolbox_version__ = "1.2.7-0.0.5"
  • added region var to the TF command line in TF container
  • added logic to handle token file called token
  • added properties to TF container class
  • added TFAutomv container class
  • added tfautomv command to Leverage CLI
  • aws
    • manage v1 and v2 main region (aka region_primary and region)
    • added code for accounts and Org Units handle in Refarch v1 and v2
  • credentials
    • manage v1 and v2 main region (aka region_primary and region)
  • terraform
    • init: pass backend region dynamically
    • improved _make_layer_backend_key for covering refarch v1 and v2
    • improved validate-layout for using all the possibilities emanated from the previous item
  • Apply TF command to multiple Layers feature added

Why?

  • we reflect a set of issues here

References

n/a

Before release

Review the checklist here

@juanmatias juanmatias added enhancement New feature or request minor labels Dec 14, 2022
Comment thread leverage/container.py Resolved
Co-authored-by: Angelo Fenoglio <[email protected]>
Comment thread leverage/container.py Resolved
Comment thread leverage/container.py Resolved
Comment thread leverage/modules/terraform.py Resolved
Comment thread leverage/modules/terraform.py Resolved
juanmatias and others added 3 commits January 5, 2023 15:03
Co-authored-by: Angelo Fenoglio <[email protected]>
Co-authored-by: Angelo Fenoglio <[email protected]>
@juanmatias juanmatias changed the title WIP: Issue 141 s3 key multi region support Issue 141 s3 key multi region support Jan 5, 2023
juanmatias and others added 2 commits January 6, 2023 17:12
* ISSUE-123 added logic for init-multi command

* ISSUE-123 all terraform commands keeps running on layers but accept --layers list to run from account level

* ISSUE-141 persist s3 key when dynamically generated

* ISSUE-123 added logic for recording the s3 key in the tf file when automagically generated; removed hidden commands from tf commands

* Update leverage/container.py

Co-authored-by: Angelo Fenoglio <[email protected]>

* ISSUE-123 changed internal functions from click commands to regular functions; code refactor for sake of readability

* ISSUE-123 fixed test

* ISSUE-123 fixed makefile for testing

* Update leverage/container.py

Co-authored-by: Angelo Fenoglio <[email protected]>

* Update leverage/container.py

Co-authored-by: Angelo Fenoglio <[email protected]>

* Update leverage/modules/terraform.py

Co-authored-by: Angelo Fenoglio <[email protected]>

* ISSUE-123 fixed comments for PR 151

* ISSUE-123 removed comments

* ISSUE-123 fixed condition

* ISSUE-123 changed value sublayer to layers_group

Co-authored-by: Angelo Fenoglio <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request minor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants