@@ -11,10 +11,6 @@ Include this repository as a module in your existing terraform code:
1111``` terraform
1212module "admin_tier" {
1313 source = "git::https://github.com/cloudposse/terraform-aws-ec2-instance.git?ref=master"
14- ansible_playbook = "${var.ansible_playbook}"
15- ansible_arguments = "${var.ansible_arguments}"
16- ansible_envs = "${var.ansible_envs}"
17- ansible_dry_run = "${var.ansible_dry_run}"
1814 ssh_key_pair = "${var.ssh_key_pair}"
1915 github_api_token = "${var.github_api_token}"
2016 github_organization = "${var.github_organization}"
@@ -36,7 +32,6 @@ This module depends on these modules:
3632
3733* [ terraform-null-label] ( https://github.com/cloudposse/terraform-null-label )
3834* [ tf_github_authorized_keys] ( https://github.com/cloudposse/tf_github_authorized_keys )
39- * [ terraform-null-ansible] ( https://github.com/cloudposse/terraform-null-ansible )
4035
4136It is necessary to run ` terraform get ` to download those modules.
4237
@@ -64,10 +59,6 @@ resource "aws_ami_from_instance" "example" {
6459| ` github_api_token ` | `` | GitHub API token | Yes |
6560| ` github_organization ` | `` | GitHub organization name | Yes |
6661| ` github_team ` | `` | GitHub team | Yes |
67- | ` ansible_playbook ` | `` | Path to the playbook - required for ` tf_ansible ` (e.g. ` ./admin_tier.yml ` ) | Yes |
68- | ` ansible_arguments ` | [ ] | List of ansible arguments (e.g. ` ["--user=ubuntu"] ` ) | No |
69- | ` ansible_envs ` | [ ] | List of ansible envs (e.g. ` ["ansible_ssh_pass=${var.ansible_ssh_password}"] ` ) | No |
70- | ` ansible_dry_run ` | ` false ` | The Ansible run without changes | No |
7162| ` instance_type ` | ` t2.micro ` | The type of the creating instance (e.g. ` t2.micro ` ) | No |
7263| ` vpc_id ` | `` | The id of the VPC that the creating instance security group belongs to | Yes |
7364| ` security_groups ` | [ ] | List of Security Group IDs allowed to connect to creating instance | Yes |
0 commit comments