mirror of https://github.com/trailofbits/algo
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
647 B
YAML
20 lines
647 B
YAML
2 years ago
|
---
|
||
|
- name: Deploy the template
|
||
|
cloudformation:
|
||
|
aws_access_key: "{{ access_key }}"
|
||
|
aws_secret_key: "{{ secret_key }}"
|
||
|
stack_name: "{{ stack_name }}"
|
||
|
state: "present"
|
||
|
region: "{{ algo_region }}"
|
||
|
template: roles/cloud-lightsail/files/stack.yaml
|
||
|
template_parameters:
|
||
|
InstanceTypeParameter: "{{ cloud_providers.lightsail.size }}"
|
||
|
ImageIdParameter: "{{ cloud_providers.lightsail.image }}"
|
||
|
WireGuardPort: "{{ wireguard_port }}"
|
||
|
SshPort: "{{ ssh_port }}"
|
||
|
UserData: "{{ lookup('template', 'files/cloud-init/base.sh') }}"
|
||
|
tags:
|
||
|
Environment: Algo
|
||
|
Lightsail: true
|
||
|
register: stack
|