Skip to content

Demo on how to deploy on AWS three web servers with Terraform and operate them with Ansible

Notifications You must be signed in to change notification settings

leticiavalladares/ansible-webser-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Demo

Tf Ansible Demo

Web pages

three_pages

Requirements

AWS Terraform Ansible

Providers

Name Version
aws 4.34.0

Modules

No modules.

Resources

Name Type
aws_instance.pub_server resource
aws_security_group.ansible_webserver_sg resource
aws_ami.ubuntu_image data source
aws_subnet.pub_subnet data source
aws_vpc.vpc data source

Inputs

Name Description Type Default Required
ami_name The name of the ami string n/a yes
aws_ami_owner The owner id of the ami string n/a yes
instance_type Type of aws instance string n/a yes
keypair The owner id of the ami string n/a yes
pub_subnet Name of public subnet a string n/a yes
vpc_name Name of vpc string n/a yes

Outputs

Name Description
instance_public_ip_addr n/a

About

Demo on how to deploy on AWS three web servers with Terraform and operate them with Ansible

Topics

Resources

Stars

Watchers

Forks