-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathopa.json
More file actions
35 lines (33 loc) · 839 Bytes
/
opa.json
File metadata and controls
35 lines (33 loc) · 839 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
"variables": {
"ami_id": "ami-04b9e92b5572fa0d1",
"aws_region": "us-east-1",
"ssh_username": "ubuntu",
"aws_vpc_id": "vpc-d479c9b3"
},
"builders": [{
"type": "amazon-ebs",
"region": "{{user `aws_region`}}",
"source_ami": "{{user `ami_id`}}",
"instance_type": "t2.medium",
"ssh_username": "ubuntu",
"ami_name": "IaaSWeek",
"ssh_keypair_name": "seu_keypair",
"ssh_private_key_file": "seu_keypair.pem",
"vpc_id": "{{user `aws_vpc_id`}}"
}],
"provisioners": [
{
"type": "ansible",
"playbook_file": "./provisioners/ansible/setup-k8s.yml",
"user": "{{user `ssh_username`}}",
"ansible_env_vars": [
"ANSIBLE_HOST_KEY_CHECKING=False"
]
},
{
"type": "shell",
"script": "./provisioners/scripts/opa.sh"
}
]
}