diff --git a/shibboleth-appliance-aws.json b/shibboleth-appliance-aws.json new file mode 100644 index 0000000..8851f07 --- /dev/null +++ b/shibboleth-appliance-aws.json @@ -0,0 +1,29 @@ +{ + "min_packer_version": "0.8.6", + "description": "Shibboleth appliance ", + "variables": { + "region": "us-west-1", + "timestamper": "{{timestamp}}" + }, + "provisioners": [ + { + "type": "ansible", + "playbook_file": "ansible-playbooks/shibboleth-appliance-vbox.yml", + "sftp_command": "/usr/libexec/sftp-server -e", + "ansible_env_vars": [ "ANSIBLE_HOST_KEY_CHECKING=False" ], + "user": "centos" + } + ], + "builders": [ + { + "type": "amazon-ebs", + "access_key": "AKIAJGTQSCEQTDCIUU6A", + "secret_key": "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", + "region": "us-west-1", + "source_ami": "ami-af4333cf", + "instance_type": "t2.large", + "ssh_username": "centos", + "ami_name": "shibboleth-idp {{timestamp}}" + } + ] +}