-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 variable defaults to -var-file #1079
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
30c1378
Move software version variables to -var-file
cartermckinnon 577a1c5
Remove debug echo-s
cartermckinnon 1cf752e
Use null default to require version variables
cartermckinnon ea813d8
Add make variable for PACKER_VARIABLE_FILE, name file based on templa…
cartermckinnon 7938fe0
Remove version-variables.json
cartermckinnon 447fc2c
Use multiple var-file approach, add docs
cartermckinnon 8da3272
Move README section
cartermckinnon 1311d4d
Resolve conflicts with main branch
cartermckinnon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"additional_yum_repos": "", | ||
"ami_description": "EKS Kubernetes Worker AMI with AmazonLinux2 image", | ||
"ami_regions": "", | ||
"ami_users": "", | ||
"associate_public_ip_address": "", | ||
"aws_access_key_id": "{{env `AWS_ACCESS_KEY_ID`}}", | ||
"aws_region": "us-west-2", | ||
"aws_secret_access_key": "{{env `AWS_SECRET_ACCESS_KEY`}}", | ||
"aws_session_token": "{{env `AWS_SESSION_TOKEN`}}", | ||
"binary_bucket_name": "amazon-eks", | ||
"binary_bucket_region": "us-west-2", | ||
"cache_container_images": "false", | ||
"cni_plugin_version": "v0.8.6", | ||
"containerd_version": "1.6.6-1.amzn2.0.2", | ||
"creator": "{{env `USER`}}", | ||
"docker_version": "20.10.17-1.amzn2.0.1", | ||
"encrypted": "false", | ||
"kernel_version": "", | ||
"kms_key_id": "", | ||
"launch_block_device_mappings_volume_size": "8", | ||
"pause_container_version": "3.5", | ||
"pull_cni_from_github": "true", | ||
"remote_folder": "", | ||
"runc_version": "1.1.3-1.amzn2.0.2", | ||
"security_group_id": "", | ||
"sonobuoy_e2e_registry": "", | ||
"source_ami_filter_name": "amzn2-ami-minimal-hvm-*", | ||
"source_ami_id": "", | ||
"source_ami_owners": "137112412989", | ||
"ssh_interface": "", | ||
"ssh_username": "ec2-user", | ||
"subnet_id": "", | ||
"temporary_security_group_source_cidrs": "", | ||
"volume_type": "gp2" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Would be possible to write tests for these behaviors?
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.
Nevermind, I saw your comment stating that packer is the one which does this so no point in testing that. Contents of that comment might be good for this section too. :)
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.
I'd err on the side of fewer impl details in this doc, but I don't feel too strongly. Can totally add if you think it's necessary