Name: ascent-base-ami
Owner: Department of Veterans Affairs
Description: null
Created: 2017-09-12 17:40:47.0
Updated: 2018-04-04 14:13:58.0
Pushed: 2018-04-04 14:13:58.0
Homepage: null
Size: 22
Language: Shell
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
These scripts build a base image using Hashicorp packer. Base RHEL7, the aws cli, and the jq shell JSON parser are installed.
SSH access is setup via integration with authorized keys loaded into Hashicorp Vault, for more details see the vault_aws_auth directory.
A default user named “devops” is added with full sudo access.
Create user variable JSON file:
"aws_access_key": "xxxxxxxxxxxxxxxxxxxxxxxxx",
"aws_secret_key": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"aws_region": "us-east-1",
"base_ami_id": "ami-c998b6b2",
and run packer build -var-file=<your_user_file>.json base.json