Skip to content

xlab-steampunk/ansible-terraform-quickstart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prepare the environment

python3.10 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
ansible-galaxy collection install cloud.terraform

Insert secrets

In a file secret.tfvars set appropriate values for aws access key, secret key and ssh public key.
Ssh public key should be of type rsa and private key pair should be found on path "~/.ssh/id_rsa".

Run example

ansible-playbook -i inventory.yml playbook.yml

About

A quick example of the Ansible-Terraform integration.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages