#atlantis (2022-10)
Discuss the Atlantis (<http://runatlantis.io | runatlantis.io>) |
**Archive: ** https://archive.sweetops.com/atlantis/
2022-10-05
v0.19.9 What’s Changed build(deps): bump go.uber.org/zap from 1.21.0 to 1.22.0 by @dependabot in <a class=”issue-link js-issue-link” data-error-text=”Failed to load title” data-id=”1338912919” data-permission-text=”Title is private”…
What’s Changed build(deps): bump go.uber.org/zap from 1.21.0 to 1.22.0 by @dependabot in #2448 Make required atlantis/apply status check work with mergeable by @rayterrill in #2436 build(deps): bu…
Automated dependency updates built into GitHub. Dependabot has 23 repositories available. Follow their code on GitHub.
v0.19.9
What's Changed
build(deps): bump go.uber.org/zap from 1.21.0 to 1.22.0 by @dependabot in #2448
Make required atlantis/apply status check work with mergeable by @rayterrill in #2436
build(deps): bump golang from 1.17-alpine to 1.19.0-alpine by @dependabot in #2433
Allow manual PR number by @cep21 in #2465
ignore GitLab Draft MRs by @becjon in #2468
enable hostname (not only IP Address) on Metrics statsd host key by @kangaechu in #2429
Omit type declaration of vars by @estensen in #2476
build(deps): bump go.uber.org/zap from 1.22.0 to 1.23.0 by @dependabot in #2478
build(deps): bump github.com/microcosm-cc/bluemonday from 1.0.19 to 1.0.20 by @dependabot in #2487
build(deps): bump github.com/urfave/cli from 1.22.9 to 1.22.10 by @dependabot in #2488
deps: bump tf to 1.2.9 by @chenrui333 in #2499
Use proper http client for github v4 api by @ysoldak in #2479
deps: bump conftest to 0.34.0 by @chenrui333 in #2500
External Locking DB: Redis by @SudoSpartanDan in #2491
workflows: update runner to use ubuntu-22.04 by @chenrui333 in #2502
fix: allow requests to /api/* without authentication by @vincentgna in #2455
bug: Fix GitHub Markdown for added and deleted resources by @pauloconnor in #2418
Use single github v4 client by @ysoldak in #2480
feat: support parallel execution with order groups by @tufitko in #2403
lint: remove deprecated io/util package by @chenrui333 in #2503
Fixes for multienv step comment by @hatmarch in #2411
fix: Set mergeable correctly when branch protection doesn't require reviewers by @stasostrovskyi in #2470
Adding Redis TLS Option by @SudoSpartanDan in #2510
build(deps): bump github.com/spf13/viper from 1.12.0 to 1.13.0 by @dependabot in #2517
build(deps): bump runatlantis/atlantis-base from 2022.08.05 to 2022.09.08 by @dependabot in #2515
build(deps): bump github.com/moby/moby from 20.10.17+incompatible to 20.10.18+incompatible by @dependabot in #2516
lint: recursive gofmt by @chenrui333 in #2504
build(deps): bump golang from 1.19.0-alpine to 1.19.1-alpine by @dependabot in #2514
chore: Use hadolint to fix DL4006, SC2086 by @nitrocode in #2530
Adding Redis DB option by @Omicron7 in #2527
Fix: Error when enabling prometheus metrics by @albertollamaso in #2528
deps: bump tf to 1.3.0 by @andy-paine-numan in #2533
Delete previous plans on autoplan or atlantis plan by @giuli007 in #1633
docs: execution_order_group belongs to Project by @taiki45 in #2539
build(deps): bump actions/stale from 5 to 6 by @dependabot in #2540
deps: upgrade terraform to v1.3.1 by @chenrui333 in #2543
Getting working workspace from Terraform Cloud configuration by @cucxabong in #2432
2022-10-06
Bump alpine to 3.16.2 (#2559)
Includes fixes for: CVE-2022-40674 CVE-2022-37434 Dockerfile also needs updating to build on new base image, after merging this.
nope, not done yet….
@jose.amengual did you get the end to end implementation working with atmos ?
waiting for this : https://github.com/distributhor/workflow-webhook/pull/34
This PR adds:
Custom event names to be passed as an option in case the webhook integration requires specific names.
It changes the value of X-GitHub-Delivery:
to a UUID since that is the standard value set on github webhooks
merged
So what’s left for the end to end implementation?
tidy up the workflows
workflow permission is an issue
in terms of running the workflows from atlantis?
no running but workflow permissions, who can apply a stack change in the prod stack?
so I guess that can be a mix of codeowners and other atlantis config ( which I’m trying to figure out)
v0.20.0 What’s Changed Fix concurrency in atlantis-image workflow by @nitrocode in <a class=”issue-link js-issue-link” data-error-text=”Failed to load title” data-id=”1398485328” data-permission-text=”Title is private”…
What’s Changed Fix concurrency in atlantis-image workflow by @nitrocode in #2556 Bump alpine to 3.16.2 by @mliljedahl in #2559 Full Changelog: v0.19.9…v0.20.0
2022-10-07
v0.20.0 What’s Changed Fix concurrency in atlantis-image workflow by @nitrocode in <a class=”issue-link js-issue-link” data-error-text=”Failed to load title” data-id=”1398485328” data-permission-text=”Title is private”…
What’s Changed Fix concurrency in atlantis-image workflow by @nitrocode in #2556 Bump alpine to 3.16.2 by @mliljedahl in #2559 Full Changelog: v0.19.9…v0.20.0
contact: https://bit.ly/2K7e76D | keybase: https://bit.ly/39lPFad | calendly: https://bit.ly/3x1jWaG - nitrocode |
2022-10-08
v0.20.1 What’s Changed Golang alpine update by @mliljedahl in <a class=”issue-link js-issue-link” data-error-text=”Failed to load title” data-id=”1400315403” data-permission-text=”Title is private” data-url=”https://github.com/runatlantis/atlantis/issues/2562“…
mliljedahl has 12 repositories available. Follow their code on GitHub.
Base atlantis docker file of same alpine version with latest security updates.
v0.20.1 What’s Changed Golang alpine update by @mliljedahl in <a class=”issue-link js-issue-link” data-error-text=”Failed to load title” data-id=”1400315403” data-permission-text=”Title is private” data-url=”https://github.com/runatlantis/atlantis/issues/2562“…
v0.20.1
What's Changed
Golang alpine update by @mliljedahl in #2562
Revert "Fix concurrency in atlantis-image workflow" by @jamengual in #2565
(README) Use join.slack.com instead of custom heroku app by @douglascayers in #2564
Updating to new base image by @jamengual in #2563
Fix server-configuration docs, missing newline by @erpel in #2567
build(deps): bump github.com/microcosm-cc/bluemonday from 1.0.20 to 1.0.21 by @dependabot in #2548
deps: bump terrform to 1.3.2 by @chenrui333 in #2569
docs: fill all command line flags not in the document, and more. by @chroju in #2568
docs: added GitHub app permission in #2380 by @chroju in #2572
Release 0.20.1 by @jamengual in #2571
2022-10-14
2022-10-16
2022-10-17
2022-10-19
is there a way I can run any terraform command in the PR with atlantis? Better yet, can I do a partial apply?
you can do atlantis plan -- -target module.alb.xxxx
ah, cool!
doesn’t seem to work, just did it all again
but could be my custom workflows
if you have custom workflows you will have to pass the extra args
yeah
Over a year later, but I wound up having to deal with this. My solution was by adding another workflow step to export the TF_CLI_ARGS
env var:
- env:
name: TF_CLI_ARGS
command: echo $COMMENT_ARGS | tr ',' ' ' | sed -r 's/\\(.)/\1/g'
you need to do the sed thing
it doesn’t matter what I do, I keep getting
Error: Failed to parse command-line flags
>
> flag provided but not defined: -target
or
╷
> │ Error: Failed to parse command-line flags
> │
> │ flag provided but not defined: -target
> ╵
> ╷
> │ Error: Too many command line arguments
> │
> │ Expected at most one positional argument.
> ╵
show me your custom workflow
$TF_CLI_ARGS will be have to at the end
“/atlantis-data/bin/terraform${ATLANTIS_TERRAFORM_VERSION}” plan “${varfiles[@]}”
/dev/null -input=false -refresh -no-color -compact-warnings -out “${PLANFILE}” “${comment_cli_args[@]}”
echo this
or that whole line
to see id is adding an extra -
/atlantis-data/bin/terraform1.3.3 plan -var-file=../env_vars/dev-xxxx-sydney-aws/adb2cs.tfvars -var-file=../env_vars/dev-xxxx-sydney-aws/apps-project-ping.txt -var-file=../env_vars/dev-xxxx-sydney-aws/apps.tfvars -var-file=../env_vars/dev-xxxx-sydney-aws/aws_auth.tfvars -var-file=../env_vars/dev-xxxx-sydney-aws/batch_data_pipeline.tfvars -var-file=../env_vars/dev-xxxx-sydney-aws/caching.tfvars -var-file=../env_vars/dev-xxxx-sydney-aws/clusters.tfvars -var-file=../env_vars/dev-xxxx-sydney-aws/config.tfvars -var-file=../env_vars/dev-xxxx-sydney-aws/data-pipeline-project-ping.txt -var-file=../env_vars/dev-xxxx-sydney-aws/databases.tfvars -var-file=../env_vars/dev-xxxx-sydney-aws/dns.tfvars -var-file=../env_vars/dev-xxxx-sydney-aws/domains.tfvars -var-file=../env_vars/dev-xxxx-sydney-aws/dynamodb.tfvars -var-file=../env_vars/dev-xxxx-sydney-aws/elasticsearch.tfvars -var-file=../env_vars/dev-xxxx-sydney-aws/environment-setup-project-ping.txt -var-file=../env_vars/dev-xxxx-sydney-aws/filesystems.tfvars -var-file=../env_vars/dev-xxxx-sydney-aws/front-door-project-ping.txt -var-file=../env_vars/dev-xxxx-sydney-aws/github_permissions.tfvars -var-file=../env_vars/dev-xxxx-sydney-aws/glue_jobs.tfvars -var-file=../env_vars/dev-xxxx-sydney-aws/istio.tfvars -var-file=../env_vars/dev-xxxx-sydney-aws/kafka.tfvars -var-file=../env_vars/dev-xxxx-sydney-aws/migration.tfvars -var-file=../env_vars/dev-xxxx-sydney-aws/monitoring.tfvars -var-file=../env_vars/dev-xxxx-sydney-aws/object_storage.tfvars -var-file=../env_vars/dev-xxxx-sydney-aws/operational-project-ping.txt -var-file=../env_vars/dev-xxxx-sydney-aws/operational.tfvars -var-file=../env_vars/dev-xxxx-sydney-aws/pagerduty.tfvars -var-file=../env_vars/dev-xxxx-sydney-aws/pagerduty_on_call_list.json -var-file=../env_vars/dev-xxxx-sydney-aws/pagerduty_schedule_start_date.json -var-file=../env_vars/dev-xxxx-sydney-aws/ses.tfvars -var-file=../env_vars/dev-xxxx-sydney-aws/streaming.tfvars -var-file=../env_vars/dev-xxxx-sydney-aws/swithces.tfvars -var-file=../env_vars/dev-xxxx-sydney-aws/whitelist_cidrs.tfvars -input=false -refresh -no-color -compact-warnings -out /atlantis-data/repos/deltatre-vxp/xxxx-terraform/2641/dev-xxxx-sydney-aws/apps/dev-xxxx-sydney-aws-apps-dev-xxxx-sydney-aws.tfplan ‘-target=module.applications[00].aws_kms_ciphertext.custom-ssl’
or I can change the PR comment and get
-target ‘module.applications[00].aws_kms_ciphertext.custom-ssl’
my pr comment is either
atlantis plan -p dev-xxxx-aws-apps – -target module.applications[“00”].aws_kms_ciphertext.custom-ssl
atlantis plan -p dev-xxxx-aws-apps – -target=module.applications[“00”].aws_kms_ciphertext.custom-ssl
to me the ‘’ in the wrong spots are doing it, some weird escape/quoting stuff.
can you do
atlantis plan -p dev-xxxx-aws-apps -- -target="module.applications["00"].aws_kms_ciphertext.custom-ssl"
same deal unfortunately.
‘-target=module.applications[00].aws_kms_ciphertext.custom-ssl’
its just put
-target=module.applications
at the end, but same rror
Error: Failed to parse command-line flags
>
> flag provided but not defined: -target
>
> For more help on using this command, run:
> terraform show -help
> save the output
mmm
execing into the pod and running it
-target=module.applications[“00”].aws_kms_ciphertext.custom-ssl
works at the end, so its the ‘’ and weird things
actually, wait.. that one, it planned but it did find my resouces
‘-target=module.applications[“00”].aws_kms_ciphertext.custom-ssl’
that worked, in the shell.. no problems
anyway, going to have to play with this tomororw now. I ahve some meetings. Thanks for your help. I have some ideas.
np
2022-10-26
We are looking for companies that want to share their experience with Atlantis and success histories and that they might want to add their logo to the Atlantis page to showcase companies using Atlantis, I’m one of the contributors for the Atlantis project, please PM me