Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
templates install nginx and enable http direcotry listing with a password May 18, 2019
README.md
autoscaling.tf add the autosclaing and launch_configuration May 18, 2019
cloudwatch_agent.tf
data.tf add the data resources May 18, 2019
iam.tf add a instance profile May 18, 2019
label.tf add the label module May 18, 2019
locals.tf add he local variables May 18, 2019
outputs.tf add the username and password outputs May 18, 2019
providers.tf add the provider May 18, 2019
random.tf add the http password May 18, 2019
security_groups.tf instance security group May 18, 2019
vpc.tf add the vpc and subnets May 18, 2019

README.md

Cloudwatch Agent example

Important! This is just an example that should not be used in production as is. https encryption is ommited for simplicity. Before using this example please have a look at locals.tf and adjust it accordingly if needed.

This example will spin up an instance which will install and configure an nginx webserver along with CloudWatch Agent. The nginx webserver will provide a basic auth password protected directory listing. The http username and password will be shown on stdout when terraform apply is finished.

You can’t perform that action at this time.