Joe Hosteny
04/23/2021, 9:26 PMPePe Amengual
04/23/2021, 9:34 PMPePe Amengual
04/23/2021, 9:36 PMJoe Hosteny
04/23/2021, 9:36 PMJoe Hosteny
04/23/2021, 9:39 PMJoe Hosteny
04/23/2021, 9:39 PMJoe Hosteny
04/23/2021, 9:40 PMenv: is incorrect?PePe Amengual
04/23/2021, 9:43 PMJoe Hosteny
04/23/2021, 9:44 PMPePe Amengual
04/23/2021, 9:44 PMPePe Amengual
04/23/2021, 9:44 PMJoe Hosteny
04/23/2021, 9:45 PMErik Osterman (Cloud Posse)
04/23/2021, 9:52 PMJoe Hosteny
04/23/2021, 10:55 PMIgor Rodionov
04/28/2021, 4:59 PMJoe Hosteny
04/28/2021, 5:01 PMaccount module. I am taking notes, and am happy to contribute those back as well if it is helpful to others.marc slayton
05/01/2021, 3:25 AMmarc slayton
05/01/2021, 3:25 AMJoe Hosteny
05/01/2021, 1:03 PMmarc slayton
05/01/2021, 1:57 PMmarc slayton
05/01/2021, 1:58 PMmarc slayton
05/01/2021, 2:00 PMmarc slayton
05/01/2021, 2:10 PMJoe Hosteny
05/01/2021, 2:23 PMexamples directory in the atmos repo. I then just forked the repo for the module changes and pointed it to my branch with the fix for the region issue. Let me see if there are any other changes from that.Joe Hosteny
05/01/2021, 2:25 PMdiff --git a/atmos/modules/terraform/terraform-core.variant b/atmos/modules/terraform/terraform-core.variant
index e0f0556..fdb9321 100644
--- a/atmos/modules/terraform/terraform-core.variant
+++ b/atmos/modules/terraform/terraform-core.variant
@@ -220,8 +220,7 @@ job "terraform provider override" {
<<-EOS
provider:
aws:
- - region: "${opt.region}"
- assume_role:
+ - assume_role:
role_arn: "${opt.role}"
EOS
,Joe Hosteny
05/01/2021, 2:29 PMJoe Hosteny
05/01/2021, 2:29 PMJoe Hosteny
05/01/2021, 2:30 PMmain.variant in the cli subdir. You can import with these changes.Joe Hosteny
05/01/2021, 2:32 PMmake docker/build will export a binary with the new options, so atmos will have the fix when run in the built containerJoe Hosteny
05/01/2021, 2:34 PMtfstate-backend component also has bucket versioning enabled. It saved me once when I manually deleted the wrong workspace's statefile going through this.marc slayton
05/01/2021, 7:58 PMmarc slayton
05/01/2021, 8:05 PMDOCKER_IMAGE_NAME=gangofnuns/atmos make docker/buildmarc slayton
05/01/2021, 8:05 PM=> ERROR [5/8] RUN apk add atmos@gangofnuns 1.1s
------
> [5/8] RUN apk add atmos@gangofnuns:
#9 0.983 WARNING: The repository tag for world dependency 'atmos@gangofnuns' does not exist
#9 0.983 ERROR: Not committing changes due to missing repository tags. Use --force-broken-world to override.
------
executor failed running [/bin/sh -c apk add atmos@gangofnuns]: exit code: 99
make: *** [docker/build] Error 1Joe Hosteny
05/01/2021, 8:06 PMmarc slayton
05/01/2021, 8:06 PMmarc slayton
05/01/2021, 8:07 PMmarc slayton
05/01/2021, 8:07 PMmarc slayton
05/01/2021, 8:08 PMmarc slayton
05/01/2021, 8:09 PMmarc slayton
05/01/2021, 8:09 PMmarc slayton
05/01/2021, 8:10 PMmarc slayton
05/01/2021, 8:11 PMJoe Hosteny
05/01/2021, 8:13 PMRUN variant2 export binary $PWD $CLI_NAME creates atmos, or whatever you call it if you change that name. So I do a make docker/build, sudo make install, and then run <http://atmos.mydomain.com|atmos.mydomain.com>, and if you do which atmos when that runs, you will see one in /usr/local/bin/. CLI_NAME in the dockerfile controls the exe name, whereas the installable container name is set by APP_NAME in the Makefile.Joe Hosteny
05/01/2021, 8:14 PMAPP_NAME in the Makefile to atmos.<somedomain>.com, since I will have multiple versions of the geodesic container, one for each set of accounts managed (since we have multiple segregated projects)Joe Hosteny
05/01/2021, 8:16 PM<http://atmos.crl.com|atmos.crl.com>, which starts the container built from that Dockerfile, and then atmos from the command prompt inside that running containerJoe Hosteny
05/01/2021, 8:19 PMJoe Hosteny
05/01/2021, 8:20 PMmarc slayton
05/01/2021, 8:22 PMmarc slayton
05/01/2021, 8:29 PMJoe Hosteny
05/01/2021, 9:01 PMmarc slayton
05/01/2021, 9:37 PMmarc slayton
05/01/2021, 9:39 PMmarc slayton
05/02/2021, 8:01 AMmarc slayton
05/02/2021, 9:08 PMErik Osterman (Cloud Posse)
05/03/2021, 4:51 AMmarc slayton
05/03/2021, 6:38 PMmarc slayton
05/05/2021, 4:49 AMmarc slayton
05/05/2021, 4:51 AM# There is no AWS Organizations API for reading role_name
lifecycle {
ignore_changes = ["iam_user_access_to_billing"]
}
to
components/terraform/accounts/main.tf
seems to have worked without issue. I've voted up the bug fix. Hopefully that one gets looked at soon.marc slayton
05/05/2021, 4:55 AMJoe Hosteny
05/10/2021, 3:57 PMmarc slayton
05/10/2021, 5:51 PMmarc slayton
05/10/2021, 5:52 PM