mirror of
https://codeberg.org/scottslowe/learning-tools.git
synced 2026-03-11 09:04:37 +00:00
Move existing Pulumi content into Sandbox subfolder in preparation for adding more Pulumi content Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
34 lines
958 B
JSON
34 lines
958 B
JSON
{
|
|
"variables": {
|
|
"aws_access_key": "",
|
|
"aws_secret_key": "",
|
|
"aws_region": "us-west-2",
|
|
"ubuntu_1804_ami": "ami-03804ed633fe58109"
|
|
},
|
|
"builders": [
|
|
{
|
|
"name": "ami-pulumi-ubuntu",
|
|
"type": "amazon-ebs",
|
|
"instance_type": "t2.small",
|
|
"source_ami": "{{user `ubuntu_1804_ami`}}",
|
|
"ami_name": "ami-pulumi-ubuntu-{{timestamp}}",
|
|
"access_key": "{{user `aws_access_key`}}",
|
|
"secret_key": "{{user `aws_secret_key`}}",
|
|
"region": "{{user `aws_region`}}",
|
|
"ssh_username": "ubuntu",
|
|
"tags": {
|
|
"source_ami": "{{user `ubuntu_1804_ami`}}",
|
|
"build_date": "{{isotime}}",
|
|
"distribution": "Ubuntu",
|
|
"distribution_release": "bionic",
|
|
"distribution_version": "18.04"
|
|
}
|
|
}
|
|
],
|
|
"provisioners": [
|
|
{
|
|
"type": "ansible",
|
|
"playbook_file": "./configure.yml"
|
|
}
|
|
]
|
|
}
|