Skip to content

Added features necessary to support the new zero apply command#45

Merged
bmonkman merged 2 commits intomasterfrom
integrate-new-apply-command
Jun 24, 2020
Merged

Added features necessary to support the new zero apply command#45
bmonkman merged 2 commits intomasterfrom
integrate-new-apply-command

Conversation

@bmonkman
Copy link
Copy Markdown
Contributor

Added optional auto approve in make targets
Added checking for existing resources and skipping bootstrap steps
Added random seed for secret suffixes
Upgraded EKS version to 1.16 and module to 12.1.0

Added optional auto approve in make targets
Added checking for existing resources and skipping bootstrap steps
Added random seed for secret suffixes
Upgraded EKS version to 1.16 and module to 12.1.0
zero-module.yml Outdated
execute: aws ssm get-parameters --names /aws/service/eks/optimized-ami/1.15/amazon-linux-2/recommended/image_id --region $region --query "Parameters[0].Value" | tr -d '"'
- field: eksWorkerAMI
label: EKS Worker EC2 AMI ID
execute: aws ssm get-parameters --names /aws/service/eks/optimized-ami/1.15/amazon-linux-2/recommended/image_id --region $region --query "Parameters[0].Value" | tr -d '"'
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be checking /aws/service/eks/optimized-ami/1.16/

source = "../../modules/secret"

name_prefix = "ci-user-aws-keys"
name = "ci-user-aws-keys<% index .Params `randomSeed` %>"
Copy link
Copy Markdown
Contributor

@cjhawkins cjhawkins Jun 23, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a general question... is randomSeed used to create a unique namespace that modules share for secrets, or does it actually get used as a seed in random number generation by the modules?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It just gets used as a suffix for the secret name, as secrets have an annoying behaviour where they are not fully deleted, so if you delete a secret and then try to use the same name again it fails. Not a big deal in the real world but it's annoying for testing.

@bmonkman bmonkman merged commit 982820d into master Jun 24, 2020
@bmonkman bmonkman deleted the integrate-new-apply-command branch June 24, 2020 01:11
bmonkman added a commit that referenced this pull request Oct 10, 2020
Added features necessary to support the new zero apply command
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants