I am doing a POC for GitHub Actions for Atmos and ...
# atmos
j
I am doing a POC for GitHub Actions for Atmos and trying to figure out which actions would showcase how awesome Atmos + GHA work together?
p
plan with comments ( if you want feedback in your PRs) and apply matrix will be the most mindful for a demo I think
or to a minimum plan + matrix
using describe-affected
j
any documentation i can review or example code?
p
j
I definitely like the concept of transparency in the PR for plan/drift
e
๐Ÿ‘€ 1
j
I'll need to raise the need for AWS resources with the team. I don't think it would be an issue to deploy resources to a sandbox account, but I don't want to assume either ๐Ÿ™‚
e
Are you operating on Azure?
AWS is not required. Our reference architecture docs are only for AWS
d
The
github-action-atmos-terraform-plan
action says it requires S3 + DynamoDB. Is that still the case?
Copy code
This GitHub Action requires AWS access for two different purposes. This action will attempt to first run terraform plan against a given component and then will use another role to save that given Terraform Plan to an S3 Bucket with metadata in a DynamoDB table. We recommend configuring OpenID Connect with AWS to allow GitHub to assume roles in AWS and then deploying both a Terraform Plan role and a Terraform State role. For Cloud Posse documentation on setting up GitHub OIDC, see our github-oidc-provider component.
g
@Dan Miller (Cloud Posse)
d
You can optionally disable planfile storage so that you dont need AWS or any cloud access. However, if you want to store the planfile to use later in an apply job, you need to store that planfile somewhere. We use AWS, but we also support Azure That README should be updated with the different options
j
Hi @Erik Osterman (Cloud Posse), to answer your question, we are using AWS, but one of the requirements for the POC is that we don't spin up any resources on AWS. Hence the question. The intent was to make GHA for atmos/examples/quick-start-simple at v1.184.0 ยท cloudposse/atmos and compare it to our current CI solution
e
then @Dan Miller (Cloud Posse)'s recommendation to disable plan storage is will enable you to bypass that requirement