-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
Move to GitOps Config File #29
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see comments
action.yml
Outdated
echo "ACTIONS_ENABLED=true" >> $GITHUB_ENV | ||
else | ||
echo "ACTIONS_ENABLED=false" >> $GITHUB_ENV | ||
fi | ||
|
||
- name: Find component path | ||
if: env.ACTIONS_ENABLED == 'true' | ||
uses: cloudposse/github-action-atmos-get-setting@retrive-general-settings |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we point back to an action version?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as soon as cloudposse/github-action-atmos-get-setting#17 would be merged
terraform-state-bucket: cptest-core-ue2-auto-gitops | ||
terraform-state-table: cptest-core-ue2-auto-gitops |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have to rename these. These are not for the Terraform State Bucket. These are for the Terraform Plan File.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's add this task to the backlog
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
atmos-config-path: ./rootfs/usr/local/etc/atmos/ | ||
terraform-state-bucket: cptest-core-ue2-auto-gitops | ||
terraform-state-table: cptest-core-ue2-auto-gitops | ||
terraform-state-role: arn:aws:iam::xxxxxxxxxxxx:role/cptest-core-ue2-auto-gitops-gha |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's add this task to the backlog
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Co-authored-by: Erik Osterman (CEO @ Cloud Posse) <[email protected]> Co-authored-by: Dan Miller <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rebuild README
What
Why
Migrating from
v1
tov2
v2
dropcomponent-path
variable. Now it fetches fromatmos.yaml
file automatically.v2
moved variables frominputs
to atmos gitops config path./.github/config/atmos-gitops.yaml
atmos-version
atmos-config-path
terraform-state-bucket
terraform-state-table
terraform-state-role
terraform-plan-role
terraform-apply-role
terraform-version
aws-region
enable-infracost
If you want the same behavior in
v2
as inv1
you should create config./.github/config/atmos-gitops.yaml
with the same variables as inv1
inputs.same behaviour as