summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--getting-started/terraform.tfstate99
-rw-r--r--getting-started/terraform.tfstate.backup2430
2 files changed, 3 insertions, 2526 deletions
diff --git a/getting-started/terraform.tfstate b/getting-started/terraform.tfstate
index a863bcf..e2812f6 100644
--- a/getting-started/terraform.tfstate
+++ b/getting-started/terraform.tfstate
@@ -1,7 +1,7 @@
{
"version": 3,
"terraform_version": "0.11.10",
- "serial": 16,
+ "serial": 24,
"lineage": "40ff716c-fda7-b182-f6c8-e493c4cc8c9d",
"modules": [
{
@@ -11,103 +11,6 @@
"outputs": {},
"resources": {},
"depends_on": []
- },
- {
- "path": [
- "root",
- "consul"
- ],
- "outputs": {},
- "resources": {},
- "depends_on": []
- },
- {
- "path": [
- "root",
- "consul",
- "consul_clients"
- ],
- "outputs": {},
- "resources": {},
- "depends_on": []
- },
- {
- "path": [
- "root",
- "consul",
- "consul_servers"
- ],
- "outputs": {},
- "resources": {},
- "depends_on": []
- },
- {
- "path": [
- "root",
- "consul",
- "consul_clients",
- "iam_policies"
- ],
- "outputs": {},
- "resources": {},
- "depends_on": []
- },
- {
- "path": [
- "root",
- "consul",
- "consul_clients",
- "security_group_rules"
- ],
- "outputs": {},
- "resources": {},
- "depends_on": []
- },
- {
- "path": [
- "root",
- "consul",
- "consul_servers",
- "iam_policies"
- ],
- "outputs": {},
- "resources": {},
- "depends_on": []
- },
- {
- "path": [
- "root",
- "consul",
- "consul_servers",
- "security_group_rules"
- ],
- "outputs": {},
- "resources": {},
- "depends_on": []
- },
- {
- "path": [
- "root",
- "consul",
- "consul_clients",
- "security_group_rules",
- "client_security_group_rules"
- ],
- "outputs": {},
- "resources": {},
- "depends_on": []
- },
- {
- "path": [
- "root",
- "consul",
- "consul_servers",
- "security_group_rules",
- "client_security_group_rules"
- ],
- "outputs": {},
- "resources": {},
- "depends_on": []
}
]
}
diff --git a/getting-started/terraform.tfstate.backup b/getting-started/terraform.tfstate.backup
index 88e8823..a66b1fc 100644
--- a/getting-started/terraform.tfstate.backup
+++ b/getting-started/terraform.tfstate.backup
@@ -1,2441 +1,15 @@
{
"version": 3,
"terraform_version": "0.11.10",
- "serial": 16,
+ "serial": 25,
"lineage": "40ff716c-fda7-b182-f6c8-e493c4cc8c9d",
"modules": [
{
"path": [
"root"
],
- "outputs": {
- "consul_server_asg_name": {
- "sensitive": false,
- "type": "string",
- "value": "consul-example-server2018120322214622470000000a"
- },
- "ip": {
- "sensitive": false,
- "type": "string",
- "value": "54.234.40.238"
- }
- },
- "resources": {
- "aws_eip.ip": {
- "type": "aws_eip",
- "depends_on": [
- "aws_instance.example"
- ],
- "primary": {
- "id": "eipalloc-088d2935cf369f9aa",
- "attributes": {
- "association_id": "eipassoc-0df2e6f7ecde8710a",
- "domain": "vpc",
- "id": "eipalloc-088d2935cf369f9aa",
- "instance": "i-04de2066b6ff29636",
- "network_interface": "eni-04e568c0b6c1f1864",
- "private_ip": "172.31.28.194",
- "public_ip": "54.234.40.238",
- "public_ipv4_pool": "amazon",
- "tags.%": "0",
- "vpc": "true"
- },
- "meta": {
- "e2bfb730-ecaa-11e6-8f88-34363bc7c4c0": {
- "delete": 180000000000,
- "read": 900000000000,
- "update": 300000000000
- }
- },
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "aws_instance.example": {
- "type": "aws_instance",
- "depends_on": [
- "aws_s3_bucket.example"
- ],
- "primary": {
- "id": "i-04de2066b6ff29636",
- "attributes": {
- "ami": "ami-b374d5a5",
- "arn": "arn:aws:ec2:us-east-1:798617457475:instance/i-04de2066b6ff29636",
- "associate_public_ip_address": "true",
- "availability_zone": "us-east-1c",
- "cpu_core_count": "1",
- "cpu_threads_per_core": "1",
- "credit_specification.#": "1",
- "credit_specification.0.cpu_credits": "standard",
- "disable_api_termination": "false",
- "ebs_block_device.#": "0",
- "ebs_optimized": "false",
- "ephemeral_block_device.#": "0",
- "get_password_data": "false",
- "iam_instance_profile": "",
- "id": "i-04de2066b6ff29636",
- "instance_state": "running",
- "instance_type": "t2.micro",
- "ipv6_addresses.#": "0",
- "key_name": "",
- "monitoring": "false",
- "network_interface.#": "0",
- "network_interface_id": "eni-04e568c0b6c1f1864",
- "password_data": "",
- "placement_group": "",
- "primary_network_interface_id": "eni-04e568c0b6c1f1864",
- "private_dns": "ip-172-31-28-194.ec2.internal",
- "private_ip": "172.31.28.194",
- "public_dns": "ec2-54-234-40-238.compute-1.amazonaws.com",
- "public_ip": "54.234.40.238",
- "root_block_device.#": "1",
- "root_block_device.0.delete_on_termination": "true",
- "root_block_device.0.iops": "100",
- "root_block_device.0.volume_id": "vol-053edafd299d62a3f",
- "root_block_device.0.volume_size": "8",
- "root_block_device.0.volume_type": "gp2",
- "security_groups.#": "1",
- "security_groups.3814588639": "default",
- "source_dest_check": "true",
- "subnet_id": "subnet-6717343e",
- "tags.%": "0",
- "tenancy": "default",
- "volume_tags.%": "0",
- "vpc_security_group_ids.#": "1",
- "vpc_security_group_ids.3975149506": "sg-6e635a09"
- },
- "meta": {
- "e2bfb730-ecaa-11e6-8f88-34363bc7c4c0": {
- "create": 600000000000,
- "delete": 1200000000000,
- "update": 600000000000
- },
- "schema_version": "1"
- },
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "aws_s3_bucket.example": {
- "type": "aws_s3_bucket",
- "depends_on": [],
- "primary": {
- "id": "mokha-terraform-getting-started-guide",
- "attributes": {
- "acceleration_status": "",
- "acl": "private",
- "arn": "arn:aws:s3:::mokha-terraform-getting-started-guide",
- "bucket": "mokha-terraform-getting-started-guide",
- "bucket_domain_name": "mokha-terraform-getting-started-guide.s3.amazonaws.com",
- "bucket_regional_domain_name": "mokha-terraform-getting-started-guide.s3.amazonaws.com",
- "cors_rule.#": "0",
- "force_destroy": "false",
- "hosted_zone_id": "Z3AQBSTGFYJSTF",
- "id": "mokha-terraform-getting-started-guide",
- "lifecycle_rule.#": "0",
- "logging.#": "0",
- "region": "us-east-1",
- "replication_configuration.#": "0",
- "request_payer": "BucketOwner",
- "server_side_encryption_configuration.#": "0",
- "tags.%": "0",
- "versioning.#": "1",
- "versioning.0.enabled": "false",
- "versioning.0.mfa_delete": "false",
- "website.#": "0"
- },
- "meta": {},
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- }
- },
- "depends_on": []
- },
- {
- "path": [
- "root",
- "consul"
- ],
- "outputs": {
- "asg_name_clients": {
- "sensitive": false,
- "type": "string",
- "value": "consul-example-client20181203222145952500000009"
- },
- "asg_name_servers": {
- "sensitive": false,
- "type": "string",
- "value": "consul-example-server2018120322214622470000000a"
- },
- "aws_region": {
- "sensitive": false,
- "type": "string",
- "value": "us-east-1"
- },
- "consul_servers_cluster_tag_key": {
- "sensitive": false,
- "type": "string",
- "value": "consul-servers"
- },
- "consul_servers_cluster_tag_value": {
- "sensitive": false,
- "type": "string",
- "value": "consul-example"
- },
- "iam_role_arn_clients": {
- "sensitive": false,
- "type": "string",
- "value": "arn:aws:iam::798617457475:role/consul-example-client20181203222113827100000001"
- },
- "iam_role_arn_servers": {
- "sensitive": false,
- "type": "string",
- "value": "arn:aws:iam::798617457475:role/consul-example-server20181203222113827200000002"
- },
- "iam_role_id_clients": {
- "sensitive": false,
- "type": "string",
- "value": "consul-example-client20181203222113827100000001"
- },
- "iam_role_id_servers": {
- "sensitive": false,
- "type": "string",
- "value": "consul-example-server20181203222113827200000002"
- },
- "launch_config_name_clients": {
- "sensitive": false,
- "type": "string",
- "value": "consul-example-client-20181203222120234500000007"
- },
- "launch_config_name_servers": {
- "sensitive": false,
- "type": "string",
- "value": "consul-example-server-20181203222120285500000008"
- },
- "num_clients": {
- "sensitive": false,
- "type": "string",
- "value": "6"
- },
- "num_servers": {
- "sensitive": false,
- "type": "string",
- "value": "3"
- },
- "security_group_id_clients": {
- "sensitive": false,
- "type": "string",
- "value": "sg-054c9f9e09e086f34"
- },
- "security_group_id_servers": {
- "sensitive": false,
- "type": "string",
- "value": "sg-0da5ffbf6ff31917a"
- }
- },
- "resources": {
- "data.aws_ami.consul": {
- "type": "aws_ami",
- "depends_on": [],
- "primary": {
- "id": "ami-0eb2873e2e25a57ef",
- "attributes": {
- "architecture": "x86_64",
- "block_device_mappings.#": "3",
- "block_device_mappings.1634610537.device_name": "/dev/sdb",
- "block_device_mappings.1634610537.ebs.%": "0",
- "block_device_mappings.1634610537.no_device": "",
- "block_device_mappings.1634610537.virtual_name": "ephemeral0",
- "block_device_mappings.2547816212.device_name": "/dev/sda1",
- "block_device_mappings.2547816212.ebs.%": "6",
- "block_device_mappings.2547816212.ebs.delete_on_termination": "true",
- "block_device_mappings.2547816212.ebs.encrypted": "false",
- "block_device_mappings.2547816212.ebs.iops": "0",
- "block_device_mappings.2547816212.ebs.snapshot_id": "snap-0650ce5d6f837ea89",
- "block_device_mappings.2547816212.ebs.volume_size": "8",
- "block_device_mappings.2547816212.ebs.volume_type": "gp2",
- "block_device_mappings.2547816212.no_device": "",
- "block_device_mappings.2547816212.virtual_name": "",
- "block_device_mappings.3850042718.device_name": "/dev/sdc",
- "block_device_mappings.3850042718.ebs.%": "0",
- "block_device_mappings.3850042718.no_device": "",
- "block_device_mappings.3850042718.virtual_name": "ephemeral1",
- "creation_date": "2018-08-24T22:01:03.000Z",
- "description": "An Ubuntu 16.04 AMI that has Consul installed.",
- "filter.#": "3",
- "filter.3379949661.name": "name",
- "filter.3379949661.values.#": "1",
- "filter.3379949661.values.0": "consul-ubuntu-*",
- "filter.4034669764.name": "is-public",
- "filter.4034669764.values.#": "1",
- "filter.4034669764.values.0": "true",
- "filter.490168357.name": "virtualization-type",
- "filter.490168357.values.#": "1",
- "filter.490168357.values.0": "hvm",
- "hypervisor": "xen",
- "id": "ami-0eb2873e2e25a57ef",
- "image_id": "ami-0eb2873e2e25a57ef",
- "image_location": "562637147889/consul-ubuntu-2018-08-24T21-58-17Z",
- "image_type": "machine",
- "most_recent": "true",
- "name": "consul-ubuntu-2018-08-24T21-58-17Z",
- "owner_id": "562637147889",
- "owners.#": "1",
- "owners.0": "562637147889",
- "product_codes.#": "0",
- "public": "true",
- "root_device_name": "/dev/sda1",
- "root_device_type": "ebs",
- "root_snapshot_id": "snap-0650ce5d6f837ea89",
- "sriov_net_support": "simple",
- "state": "available",
- "state_reason.%": "2",
- "state_reason.code": "UNSET",
- "state_reason.message": "UNSET",
- "tags.%": "0",
- "virtualization_type": "hvm"
- },
- "meta": {},
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "data.aws_region.current": {
- "type": "aws_region",
- "depends_on": [],
- "primary": {
- "id": "us-east-1",
- "attributes": {
- "current": "true",
- "description": "US East (N. Virginia)",
- "endpoint": "ec2.us-east-1.amazonaws.com",
- "id": "us-east-1",
- "name": "us-east-1"
- },
- "meta": {},
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "data.aws_subnet_ids.default": {
- "type": "aws_subnet_ids",
- "depends_on": [
- "data.aws_vpc.default"
- ],
- "primary": {
- "id": "vpc-875c9ce3",
- "attributes": {
- "id": "vpc-875c9ce3",
- "ids.#": "6",
- "ids.1431000272": "subnet-aba6cece",
- "ids.1449353001": "subnet-6717343e",
- "ids.2393837154": "subnet-d2a258ef",
- "ids.3425394934": "subnet-bf1683b3",
- "ids.831311409": "subnet-55fdf422",
- "ids.935155337": "subnet-823968a9",
- "vpc_id": "vpc-875c9ce3"
- },
- "meta": {},
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "data.aws_vpc.default": {
- "type": "aws_vpc",
- "depends_on": [],
- "primary": {
- "id": "vpc-875c9ce3",
- "attributes": {
- "arn": "arn:aws:ec2:us-east-1:798617457475:vpc/vpc-875c9ce3",
- "cidr_block": "172.31.0.0/16",
- "cidr_block_associations.#": "1",
- "cidr_block_associations.0.association_id": "vpc-cidr-assoc-8c24d3e5",
- "cidr_block_associations.0.cidr_block": "172.31.0.0/16",
- "cidr_block_associations.0.state": "associated",
- "default": "true",
- "dhcp_options_id": "dopt-48ee172d",
- "enable_dns_hostnames": "true",
- "enable_dns_support": "true",
- "id": "vpc-875c9ce3",
- "instance_tenancy": "default",
- "main_route_table_id": "rtb-e19f2985",
- "state": "available",
- "tags.%": "0"
- },
- "meta": {},
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "data.template_file.user_data_client": {
- "type": "template_file",
- "depends_on": [],
- "primary": {
- "id": "290c4480b4779fe38b2858845020a145f51991fdbd36cd8ee1713e5900c35908",
- "attributes": {
- "id": "290c4480b4779fe38b2858845020a145f51991fdbd36cd8ee1713e5900c35908",
- "rendered": "#!/bin/bash\n# This script is meant to be run in the User Data of each EC2 Instance while it's booting. The script uses the\n# run-consul script to configure and start Consul in client mode. Note that this script assumes it's running in an AMI\n# built from the Packer template in examples/consul-ami/consul.json.\n\nset -e\n\n# Send the log output from this script to user-data.log, syslog, and the console\n# From: https://alestic.com/2010/12/ec2-user-data-output/\nexec \u003e \u003e(tee /var/log/user-data.log|logger -t user-data -s 2\u003e/dev/console) 2\u003e\u00261\n\n# These variables are passed in via Terraform template interplation\n/opt/consul/bin/run-consul --client --cluster-tag-key \"consul-servers\" --cluster-tag-value \"consul-example\"\n\n# You could add commands to boot your other apps here",
- "template": "#!/bin/bash\n# This script is meant to be run in the User Data of each EC2 Instance while it's booting. The script uses the\n# run-consul script to configure and start Consul in client mode. Note that this script assumes it's running in an AMI\n# built from the Packer template in examples/consul-ami/consul.json.\n\nset -e\n\n# Send the log output from this script to user-data.log, syslog, and the console\n# From: https://alestic.com/2010/12/ec2-user-data-output/\nexec \u003e \u003e(tee /var/log/user-data.log|logger -t user-data -s 2\u003e/dev/console) 2\u003e\u00261\n\n# These variables are passed in via Terraform template interplation\n/opt/consul/bin/run-consul --client --cluster-tag-key \"${cluster_tag_key}\" --cluster-tag-value \"${cluster_tag_value}\"\n\n# You could add commands to boot your other apps here",
- "vars.%": "2",
- "vars.cluster_tag_key": "consul-servers",
- "vars.cluster_tag_value": "consul-example"
- },
- "meta": {},
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.template"
- },
- "data.template_file.user_data_server": {
- "type": "template_file",
- "depends_on": [],
- "primary": {
- "id": "d58797b255112250e66f077c211c718007f8672175e901862be23016811097a9",
- "attributes": {
- "id": "d58797b255112250e66f077c211c718007f8672175e901862be23016811097a9",
- "rendered": "#!/bin/bash\n# This script is meant to be run in the User Data of each EC2 Instance while it's booting. The script uses the\n# run-consul script to configure and start Consul in server mode. Note that this script assumes it's running in an AMI\n# built from the Packer template in examples/consul-ami/consul.json.\n\nset -e\n\n# Send the log output from this script to user-data.log, syslog, and the console\n# From: https://alestic.com/2010/12/ec2-user-data-output/\nexec \u003e \u003e(tee /var/log/user-data.log|logger -t user-data -s 2\u003e/dev/console) 2\u003e\u00261\n\n# These variables are passed in via Terraform template interplation\n/opt/consul/bin/run-consul --server --cluster-tag-key \"consul-servers\" --cluster-tag-value \"consul-example\"",
- "template": "#!/bin/bash\n# This script is meant to be run in the User Data of each EC2 Instance while it's booting. The script uses the\n# run-consul script to configure and start Consul in server mode. Note that this script assumes it's running in an AMI\n# built from the Packer template in examples/consul-ami/consul.json.\n\nset -e\n\n# Send the log output from this script to user-data.log, syslog, and the console\n# From: https://alestic.com/2010/12/ec2-user-data-output/\nexec \u003e \u003e(tee /var/log/user-data.log|logger -t user-data -s 2\u003e/dev/console) 2\u003e\u00261\n\n# These variables are passed in via Terraform template interplation\n/opt/consul/bin/run-consul --server --cluster-tag-key \"${cluster_tag_key}\" --cluster-tag-value \"${cluster_tag_value}\"",
- "vars.%": "2",
- "vars.cluster_tag_key": "consul-servers",
- "vars.cluster_tag_value": "consul-example"
- },
- "meta": {},
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.template"
- }
- },
- "depends_on": []
- },
- {
- "path": [
- "root",
- "consul",
- "consul_clients"
- ],
- "outputs": {
- "asg_name": {
- "sensitive": false,
- "type": "string",
- "value": "consul-example-client20181203222145952500000009"
- },
- "cluster_size": {
- "sensitive": false,
- "type": "string",
- "value": "6"
- },
- "cluster_tag_key": {
- "sensitive": false,
- "type": "string",
- "value": "consul-clients"
- },
- "cluster_tag_value": {
- "sensitive": false,
- "type": "string",
- "value": "consul-example"
- },
- "iam_role_arn": {
- "sensitive": false,
- "type": "string",
- "value": "arn:aws:iam::798617457475:role/consul-example-client20181203222113827100000001"
- },
- "iam_role_id": {
- "sensitive": false,
- "type": "string",
- "value": "consul-example-client20181203222113827100000001"
- },
- "launch_config_name": {
- "sensitive": false,
- "type": "string",
- "value": "consul-example-client-20181203222120234500000007"
- },
- "security_group_id": {
- "sensitive": false,
- "type": "string",
- "value": "sg-054c9f9e09e086f34"
- }
- },
- "resources": {
- "aws_autoscaling_group.autoscaling_group": {
- "type": "aws_autoscaling_group",
- "depends_on": [
- "aws_launch_configuration.launch_configuration"
- ],
- "primary": {
- "id": "consul-example-client20181203222145952500000009",
- "attributes": {
- "arn": "arn:aws:autoscaling:us-east-1:798617457475:autoScalingGroup:dc23f377-3f64-41e7-9f34-262b391d3966:autoScalingGroupName/consul-example-client20181203222145952500000009",
- "availability_zones.#": "6",
- "availability_zones.1252502072": "us-east-1f",
- "availability_zones.1305112097": "us-east-1b",
- "availability_zones.2762590996": "us-east-1d",
- "availability_zones.3551460226": "us-east-1e",
- "availability_zones.3569565595": "us-east-1a",
- "availability_zones.986537655": "us-east-1c",
- "default_cooldown": "300",
- "desired_capacity": "6",
- "enabled_metrics.#": "0",
- "force_delete": "false",
- "health_check_grace_period": "300",
- "health_check_type": "EC2",
- "id": "consul-example-client20181203222145952500000009",
- "launch_configuration": "consul-example-client-20181203222120234500000007",
- "launch_template.#": "0",
- "load_balancers.#": "0",
- "max_size": "6",
- "metrics_granularity": "1Minute",
- "min_size": "6",
- "mixed_instances_policy.#": "0",
- "name": "consul-example-client20181203222145952500000009",
- "name_prefix": "consul-example-client",
- "placement_group": "",
- "protect_from_scale_in": "false",
- "service_linked_role_arn": "arn:aws:iam::798617457475:role/aws-service-role/autoscaling.amazonaws.com/AWSServiceRoleForAutoScaling",
- "suspended_processes.#": "0",
- "tags.#": "2",
- "tags.0.%": "3",
- "tags.0.key": "Name",
- "tags.0.propagate_at_launch": "1",
- "tags.0.value": "consul-example-client",
- "tags.1.%": "3",
- "tags.1.key": "consul-clients",
- "tags.1.propagate_at_launch": "1",
- "tags.1.value": "consul-example",
- "target_group_arns.#": "0",
- "termination_policies.#": "1",
- "termination_policies.0": "Default",
- "vpc_zone_identifier.#": "6",
- "vpc_zone_identifier.1431000272": "subnet-aba6cece",
- "vpc_zone_identifier.1449353001": "subnet-6717343e",
- "vpc_zone_identifier.2393837154": "subnet-d2a258ef",
- "vpc_zone_identifier.3425394934": "subnet-bf1683b3",
- "vpc_zone_identifier.831311409": "subnet-55fdf422",
- "vpc_zone_identifier.935155337": "subnet-823968a9",
- "wait_for_capacity_timeout": "10m"
- },
- "meta": {
- "e2bfb730-ecaa-11e6-8f88-34363bc7c4c0": {
- "delete": 600000000000
- }
- },
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "aws_iam_instance_profile.instance_profile": {
- "type": "aws_iam_instance_profile",
- "depends_on": [
- "aws_iam_role.instance_role"
- ],
- "primary": {
- "id": "consul-example-client20181203222115313100000006",
- "attributes": {
- "arn": "arn:aws:iam::798617457475:instance-profile/consul-example-client20181203222115313100000006",
- "create_date": "2018-12-03T22:21:15Z",
- "id": "consul-example-client20181203222115313100000006",
- "name": "consul-example-client20181203222115313100000006",
- "name_prefix": "consul-example-client",
- "path": "/",
- "role": "consul-example-client20181203222113827100000001",
- "roles.#": "1",
- "roles.798124277": "consul-example-client20181203222113827100000001",
- "unique_id": "AIPAI74JCO2C6KQXVEAA2"
- },
- "meta": {},
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "aws_iam_role.instance_role": {
- "type": "aws_iam_role",
- "depends_on": [
- "data.aws_iam_policy_document.instance_role"
- ],
- "primary": {
- "id": "consul-example-client20181203222113827100000001",
- "attributes": {
- "arn": "arn:aws:iam::798617457475:role/consul-example-client20181203222113827100000001",
- "assume_role_policy": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Sid\":\"\",\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"ec2.amazonaws.com\"},\"Action\":\"sts:AssumeRole\"}]}",
- "create_date": "2018-12-03T22:21:14Z",
- "description": "",
- "force_detach_policies": "false",
- "id": "consul-example-client20181203222113827100000001",
- "max_session_duration": "3600",
- "name": "consul-example-client20181203222113827100000001",
- "name_prefix": "consul-example-client",
- "path": "/",
- "tags.%": "0",
- "unique_id": "AROAIQ657DP5CNWROP5KC"
- },
- "meta": {},
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "aws_launch_configuration.launch_configuration": {
- "type": "aws_launch_configuration",
- "depends_on": [
- "aws_iam_instance_profile.instance_profile",
- "aws_security_group.lc_security_group"
- ],
- "primary": {
- "id": "consul-example-client-20181203222120234500000007",
- "attributes": {
- "associate_public_ip_address": "false",
- "ebs_block_device.#": "0",
- "ebs_optimized": "false",
- "enable_monitoring": "true",
- "ephemeral_block_device.#": "0",
- "iam_instance_profile": "consul-example-client20181203222115313100000006",
- "id": "consul-example-client-20181203222120234500000007",
- "image_id": "ami-0eb2873e2e25a57ef",
- "instance_type": "t2.micro",
- "key_name": "",
- "name": "consul-example-client-20181203222120234500000007",
- "name_prefix": "consul-example-client-",
- "root_block_device.#": "1",
- "root_block_device.0.delete_on_termination": "true",
- "root_block_device.0.iops": "0",
- "root_block_device.0.volume_size": "50",
- "root_block_device.0.volume_type": "standard",
- "security_groups.#": "1",
- "security_groups.1938603045": "sg-054c9f9e09e086f34",
- "spot_price": "",
- "user_data": "97e031d0aa6d1e6b2cd1838301fbecde7751eefb",
- "vpc_classic_link_id": "",
- "vpc_classic_link_security_groups.#": "0"
- },
- "meta": {},
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "aws_security_group.lc_security_group": {
- "type": "aws_security_group",
- "depends_on": [],
- "primary": {
- "id": "sg-054c9f9e09e086f34",
- "attributes": {
- "arn": "arn:aws:ec2:us-east-1:798617457475:security-group/sg-054c9f9e09e086f34",
- "description": "Security group for the consul-example-client launch configuration",
- "egress.#": "1",
- "egress.482069346.cidr_blocks.#": "1",
- "egress.482069346.cidr_blocks.0": "0.0.0.0/0",
- "egress.482069346.description": "",
- "egress.482069346.from_port": "0",
- "egress.482069346.ipv6_cidr_blocks.#": "0",
- "egress.482069346.prefix_list_ids.#": "0",
- "egress.482069346.protocol": "-1",
- "egress.482069346.security_groups.#": "0",
- "egress.482069346.self": "false",
- "egress.482069346.to_port": "0",
- "id": "sg-054c9f9e09e086f34",
- "ingress.#": "10",
- "ingress.1332796757.cidr_blocks.#": "1",
- "ingress.1332796757.cidr_blocks.0": "0.0.0.0/0",
- "ingress.1332796757.description": "",
- "ingress.1332796757.from_port": "8302",
- "ingress.1332796757.ipv6_cidr_blocks.#": "0",
- "ingress.1332796757.prefix_list_ids.#": "0",
- "ingress.1332796757.protocol": "udp",
- "ingress.1332796757.security_groups.#": "0",
- "ingress.1332796757.self": "true",
- "ingress.1332796757.to_port": "8302",
- "ingress.1615094095.cidr_blocks.#": "1",
- "ingress.1615094095.cidr_blocks.0": "0.0.0.0/0",
- "ingress.1615094095.description": "",
- "ingress.1615094095.from_port": "8500",
- "ingress.1615094095.ipv6_cidr_blocks.#": "0",
- "ingress.1615094095.prefix_list_ids.#": "0",
- "ingress.1615094095.protocol": "tcp",
- "ingress.1615094095.security_groups.#": "0",
- "ingress.1615094095.self": "true",
- "ingress.1615094095.to_port": "8500",
- "ingress.2042386281.cidr_blocks.#": "1",
- "ingress.2042386281.cidr_blocks.0": "0.0.0.0/0",
- "ingress.2042386281.description": "",
- "ingress.2042386281.from_port": "8302",
- "ingress.2042386281.ipv6_cidr_blocks.#": "0",
- "ingress.2042386281.prefix_list_ids.#": "0",
- "ingress.2042386281.protocol": "tcp",
- "ingress.2042386281.security_groups.#": "0",
- "ingress.2042386281.self": "true",
- "ingress.2042386281.to_port": "8302",
- "ingress.2284985723.cidr_blocks.#": "1",
- "ingress.2284985723.cidr_blocks.0": "0.0.0.0/0",
- "ingress.2284985723.description": "",
- "ingress.2284985723.from_port": "8300",
- "ingress.2284985723.ipv6_cidr_blocks.#": "0",
- "ingress.2284985723.prefix_list_ids.#": "0",
- "ingress.2284985723.protocol": "tcp",
- "ingress.2284985723.security_groups.#": "0",
- "ingress.2284985723.self": "true",
- "ingress.2284985723.to_port": "8300",
- "ingress.2541437006.cidr_blocks.#": "1",
- "ingress.2541437006.cidr_blocks.0": "0.0.0.0/0",
- "ingress.2541437006.description": "",
- "ingress.2541437006.from_port": "22",
- "ingress.2541437006.ipv6_cidr_blocks.#": "0",
- "ingress.2541437006.prefix_list_ids.#": "0",
- "ingress.2541437006.protocol": "tcp",
- "ingress.2541437006.security_groups.#": "0",
- "ingress.2541437006.self": "false",
- "ingress.2541437006.to_port": "22",
- "ingress.3325669966.cidr_blocks.#": "1",
- "ingress.3325669966.cidr_blocks.0": "0.0.0.0/0",
- "ingress.3325669966.description": "",
- "ingress.3325669966.from_port": "8301",
- "ingress.3325669966.ipv6_cidr_blocks.#": "0",
- "ingress.3325669966.prefix_list_ids.#": "0",
- "ingress.3325669966.protocol": "udp",
- "ingress.3325669966.security_groups.#": "0",
- "ingress.3325669966.self": "true",
- "ingress.3325669966.to_port": "8301",
- "ingress.343891797.cidr_blocks.#": "1",
- "ingress.343891797.cidr_blocks.0": "0.0.0.0/0",
- "ingress.343891797.description": "",
- "ingress.343891797.from_port": "8600",
- "ingress.343891797.ipv6_cidr_blocks.#": "0",
- "ingress.343891797.prefix_list_ids.#": "0",
- "ingress.343891797.protocol": "tcp",
- "ingress.343891797.security_groups.#": "0",
- "ingress.343891797.self": "true",
- "ingress.343891797.to_port": "8600",
- "ingress.4042602610.cidr_blocks.#": "1",
- "ingress.4042602610.cidr_blocks.0": "0.0.0.0/0",
- "ingress.4042602610.description": "",
- "ingress.4042602610.from_port": "8301",
- "ingress.4042602610.ipv6_cidr_blocks.#": "0",
- "ingress.4042602610.prefix_list_ids.#": "0",
- "ingress.4042602610.protocol": "tcp",
- "ingress.4042602610.security_groups.#": "0",
- "ingress.4042602610.self": "true",
- "ingress.4042602610.to_port": "8301",
- "ingress.4202854022.cidr_blocks.#": "1",
- "ingress.4202854022.cidr_blocks.0": "0.0.0.0/0",
- "ingress.4202854022.description": "",
- "ingress.4202854022.from_port": "8400",
- "ingress.4202854022.ipv6_cidr_blocks.#": "0",
- "ingress.4202854022.prefix_list_ids.#": "0",
- "ingress.4202854022.protocol": "tcp",
- "ingress.4202854022.security_groups.#": "0",
- "ingress.4202854022.self": "true",
- "ingress.4202854022.to_port": "8400",
- "ingress.582210921.cidr_blocks.#": "1",
- "ingress.582210921.cidr_blocks.0": "0.0.0.0/0",
- "ingress.582210921.description": "",
- "ingress.582210921.from_port": "8600",
- "ingress.582210921.ipv6_cidr_blocks.#": "0",
- "ingress.582210921.prefix_list_ids.#": "0",
- "ingress.582210921.protocol": "udp",
- "ingress.582210921.security_groups.#": "0",
- "ingress.582210921.self": "true",
- "ingress.582210921.to_port": "8600",
- "name": "consul-example-client20181203222113827200000003",
- "name_prefix": "consul-example-client",
- "owner_id": "798617457475",
- "revoke_rules_on_delete": "false",
- "tags.%": "1",
- "tags.Name": "consul-example-client",
- "vpc_id": "vpc-875c9ce3"
- },
- "meta": {
- "e2bfb730-ecaa-11e6-8f88-34363bc7c4c0": {
- "create": 600000000000,
- "delete": 600000000000
- },
- "schema_version": "1"
- },
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "aws_security_group_rule.allow_all_outbound": {
- "type": "aws_security_group_rule",
- "depends_on": [
- "aws_security_group.lc_security_group"
- ],
- "primary": {
- "id": "sgrule-2018192674",
- "attributes": {
- "cidr_blocks.#": "1",
- "cidr_blocks.0": "0.0.0.0/0",
- "description": "",
- "from_port": "0",
- "id": "sgrule-2018192674",
- "ipv6_cidr_blocks.#": "0",
- "prefix_list_ids.#": "0",
- "protocol": "-1",
- "security_group_id": "sg-054c9f9e09e086f34",
- "self": "false",
- "to_port": "0",
- "type": "egress"
- },
- "meta": {
- "schema_version": "2"
- },
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "aws_security_group_rule.allow_ssh_inbound": {
- "type": "aws_security_group_rule",
- "depends_on": [
- "aws_security_group.lc_security_group"
- ],
- "primary": {
- "id": "sgrule-4098717016",
- "attributes": {
- "cidr_blocks.#": "1",
- "cidr_blocks.0": "0.0.0.0/0",
- "description": "",
- "from_port": "22",
- "id": "sgrule-4098717016",
- "ipv6_cidr_blocks.#": "0",
- "prefix_list_ids.#": "0",
- "protocol": "tcp",
- "security_group_id": "sg-054c9f9e09e086f34",
- "self": "false",
- "to_port": "22",
- "type": "ingress"
- },
- "meta": {
- "schema_version": "2"
- },
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "data.aws_iam_policy_document.instance_role": {
- "type": "aws_iam_policy_document",
- "depends_on": [],
- "primary": {
- "id": "1903849331",
- "attributes": {
- "id": "1903849331",
- "json": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"\",\n \"Effect\": \"Allow\",\n \"Action\": \"sts:AssumeRole\",\n \"Principal\": {\n \"Service\": \"ec2.amazonaws.com\"\n }\n }\n ]\n}",
- "statement.#": "1",
- "statement.0.actions.#": "1",
- "statement.0.actions.2528466339": "sts:AssumeRole",
- "statement.0.condition.#": "0",
- "statement.0.effect": "Allow",
- "statement.0.not_actions.#": "0",
- "statement.0.not_principals.#": "0",
- "statement.0.not_resources.#": "0",
- "statement.0.principals.#": "1",
- "statement.0.principals.1134724139.identifiers.#": "1",
- "statement.0.principals.1134724139.identifiers.3655884555": "ec2.amazonaws.com",
- "statement.0.principals.1134724139.type": "Service",
- "statement.0.resources.#": "0",
- "statement.0.sid": ""
- },
- "meta": {},
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- }
- },
- "depends_on": []
- },
- {
- "path": [
- "root",
- "consul",
- "consul_servers"
- ],
- "outputs": {
- "asg_name": {
- "sensitive": false,
- "type": "string",
- "value": "consul-example-server2018120322214622470000000a"
- },
- "cluster_size": {
- "sensitive": false,
- "type": "string",
- "value": "3"
- },
- "cluster_tag_key": {
- "sensitive": false,
- "type": "string",
- "value": "consul-servers"
- },
- "cluster_tag_value": {
- "sensitive": false,
- "type": "string",
- "value": "consul-example"
- },
- "iam_role_arn": {
- "sensitive": false,
- "type": "string",
- "value": "arn:aws:iam::798617457475:role/consul-example-server20181203222113827200000002"
- },
- "iam_role_id": {
- "sensitive": false,
- "type": "string",
- "value": "consul-example-server20181203222113827200000002"
- },
- "launch_config_name": {
- "sensitive": false,
- "type": "string",
- "value": "consul-example-server-20181203222120285500000008"
- },
- "security_group_id": {
- "sensitive": false,
- "type": "string",
- "value": "sg-0da5ffbf6ff31917a"
- }
- },
- "resources": {
- "aws_autoscaling_group.autoscaling_group": {
- "type": "aws_autoscaling_group",
- "depends_on": [
- "aws_launch_configuration.launch_configuration"
- ],
- "primary": {
- "id": "consul-example-server2018120322214622470000000a",
- "attributes": {
- "arn": "arn:aws:autoscaling:us-east-1:798617457475:autoScalingGroup:6cf57de2-9655-429d-806e-6e00b1523da6:autoScalingGroupName/consul-example-server2018120322214622470000000a",
- "availability_zones.#": "6",
- "availability_zones.1252502072": "us-east-1f",
- "availability_zones.1305112097": "us-east-1b",
- "availability_zones.2762590996": "us-east-1d",
- "availability_zones.3551460226": "us-east-1e",
- "availability_zones.3569565595": "us-east-1a",
- "availability_zones.986537655": "us-east-1c",
- "default_cooldown": "300",
- "desired_capacity": "3",
- "enabled_metrics.#": "0",
- "force_delete": "false",
- "health_check_grace_period": "300",
- "health_check_type": "EC2",
- "id": "consul-example-server2018120322214622470000000a",
- "launch_configuration": "consul-example-server-20181203222120285500000008",
- "launch_template.#": "0",
- "load_balancers.#": "0",
- "max_size": "3",
- "metrics_granularity": "1Minute",
- "min_size": "3",
- "mixed_instances_policy.#": "0",
- "name": "consul-example-server2018120322214622470000000a",
- "name_prefix": "consul-example-server",
- "placement_group": "",
- "protect_from_scale_in": "false",
- "service_linked_role_arn": "arn:aws:iam::798617457475:role/aws-service-role/autoscaling.amazonaws.com/AWSServiceRoleForAutoScaling",
- "suspended_processes.#": "0",
- "tags.#": "3",
- "tags.0.%": "3",
- "tags.0.key": "Name",
- "tags.0.propagate_at_launch": "1",
- "tags.0.value": "consul-example-server",
- "tags.1.%": "3",
- "tags.1.key": "consul-servers",
- "tags.1.propagate_at_launch": "1",
- "tags.1.value": "consul-example",
- "tags.2.%": "3",
- "tags.2.key": "Environment",
- "tags.2.propagate_at_launch": "1",
- "tags.2.value": "development",
- "target_group_arns.#": "0",
- "termination_policies.#": "1",
- "termination_policies.0": "Default",
- "vpc_zone_identifier.#": "6",
- "vpc_zone_identifier.1431000272": "subnet-aba6cece",
- "vpc_zone_identifier.1449353001": "subnet-6717343e",
- "vpc_zone_identifier.2393837154": "subnet-d2a258ef",
- "vpc_zone_identifier.3425394934": "subnet-bf1683b3",
- "vpc_zone_identifier.831311409": "subnet-55fdf422",
- "vpc_zone_identifier.935155337": "subnet-823968a9",
- "wait_for_capacity_timeout": "10m"
- },
- "meta": {
- "e2bfb730-ecaa-11e6-8f88-34363bc7c4c0": {
- "delete": 600000000000
- }
- },
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "aws_iam_instance_profile.instance_profile": {
- "type": "aws_iam_instance_profile",
- "depends_on": [
- "aws_iam_role.instance_role"
- ],
- "primary": {
- "id": "consul-example-server20181203222115313000000005",
- "attributes": {
- "arn": "arn:aws:iam::798617457475:instance-profile/consul-example-server20181203222115313000000005",
- "create_date": "2018-12-03T22:21:15Z",
- "id": "consul-example-server20181203222115313000000005",
- "name": "consul-example-server20181203222115313000000005",
- "name_prefix": "consul-example-server",
- "path": "/",
- "role": "consul-example-server20181203222113827200000002",
- "roles.#": "1",
- "roles.2000983616": "consul-example-server20181203222113827200000002",
- "unique_id": "AIPAIFJ5S62N3GESVTGUE"
- },
- "meta": {},
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "aws_iam_role.instance_role": {
- "type": "aws_iam_role",
- "depends_on": [
- "data.aws_iam_policy_document.instance_role"
- ],
- "primary": {
- "id": "consul-example-server20181203222113827200000002",
- "attributes": {
- "arn": "arn:aws:iam::798617457475:role/consul-example-server20181203222113827200000002",
- "assume_role_policy": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Sid\":\"\",\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"ec2.amazonaws.com\"},\"Action\":\"sts:AssumeRole\"}]}",
- "create_date": "2018-12-03T22:21:14Z",
- "description": "",
- "force_detach_policies": "false",
- "id": "consul-example-server20181203222113827200000002",
- "max_session_duration": "3600",
- "name": "consul-example-server20181203222113827200000002",
- "name_prefix": "consul-example-server",
- "path": "/",
- "tags.%": "0",
- "unique_id": "AROAIJK2AKPN5G6IZQCJK"
- },
- "meta": {},
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "aws_launch_configuration.launch_configuration": {
- "type": "aws_launch_configuration",
- "depends_on": [
- "aws_iam_instance_profile.instance_profile",
- "aws_security_group.lc_security_group"
- ],
- "primary": {
- "id": "consul-example-server-20181203222120285500000008",
- "attributes": {
- "associate_public_ip_address": "false",
- "ebs_block_device.#": "0",
- "ebs_optimized": "false",
- "enable_monitoring": "true",
- "ephemeral_block_device.#": "0",
- "iam_instance_profile": "consul-example-server20181203222115313000000005",
- "id": "consul-example-server-20181203222120285500000008",
- "image_id": "ami-0eb2873e2e25a57ef",
- "instance_type": "t2.micro",
- "key_name": "",
- "name": "consul-example-server-20181203222120285500000008",
- "name_prefix": "consul-example-server-",
- "root_block_device.#": "1",
- "root_block_device.0.delete_on_termination": "true",
- "root_block_device.0.iops": "0",
- "root_block_device.0.volume_size": "50",
- "root_block_device.0.volume_type": "standard",
- "security_groups.#": "1",
- "security_groups.3803571931": "sg-0da5ffbf6ff31917a",
- "spot_price": "",
- "user_data": "bea44523b6e01d16013cc9699c268cc65005f72f",
- "vpc_classic_link_id": "",
- "vpc_classic_link_security_groups.#": "0"
- },
- "meta": {},
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "aws_security_group.lc_security_group": {
- "type": "aws_security_group",
- "depends_on": [],
- "primary": {
- "id": "sg-0da5ffbf6ff31917a",
- "attributes": {
- "arn": "arn:aws:ec2:us-east-1:798617457475:security-group/sg-0da5ffbf6ff31917a",
- "description": "Security group for the consul-example-server launch configuration",
- "egress.#": "1",
- "egress.482069346.cidr_blocks.#": "1",
- "egress.482069346.cidr_blocks.0": "0.0.0.0/0",
- "egress.482069346.description": "",
- "egress.482069346.from_port": "0",
- "egress.482069346.ipv6_cidr_blocks.#": "0",
- "egress.482069346.prefix_list_ids.#": "0",
- "egress.482069346.protocol": "-1",
- "egress.482069346.security_groups.#": "0",
- "egress.482069346.self": "false",
- "egress.482069346.to_port": "0",
- "id": "sg-0da5ffbf6ff31917a",
- "ingress.#": "10",
- "ingress.1332796757.cidr_blocks.#": "1",
- "ingress.1332796757.cidr_blocks.0": "0.0.0.0/0",
- "ingress.1332796757.description": "",
- "ingress.1332796757.from_port": "8302",
- "ingress.1332796757.ipv6_cidr_blocks.#": "0",
- "ingress.1332796757.prefix_list_ids.#": "0",
- "ingress.1332796757.protocol": "udp",
- "ingress.1332796757.security_groups.#": "0",
- "ingress.1332796757.self": "true",
- "ingress.1332796757.to_port": "8302",
- "ingress.1615094095.cidr_blocks.#": "1",
- "ingress.1615094095.cidr_blocks.0": "0.0.0.0/0",
- "ingress.1615094095.description": "",
- "ingress.1615094095.from_port": "8500",
- "ingress.1615094095.ipv6_cidr_blocks.#": "0",
- "ingress.1615094095.prefix_list_ids.#": "0",
- "ingress.1615094095.protocol": "tcp",
- "ingress.1615094095.security_groups.#": "0",
- "ingress.1615094095.self": "true",
- "ingress.1615094095.to_port": "8500",
- "ingress.2042386281.cidr_blocks.#": "1",
- "ingress.2042386281.cidr_blocks.0": "0.0.0.0/0",
- "ingress.2042386281.description": "",
- "ingress.2042386281.from_port": "8302",
- "ingress.2042386281.ipv6_cidr_blocks.#": "0",
- "ingress.2042386281.prefix_list_ids.#": "0",
- "ingress.2042386281.protocol": "tcp",
- "ingress.2042386281.security_groups.#": "0",
- "ingress.2042386281.self": "true",
- "ingress.2042386281.to_port": "8302",
- "ingress.2284985723.cidr_blocks.#": "1",
- "ingress.2284985723.cidr_blocks.0": "0.0.0.0/0",
- "ingress.2284985723.description": "",
- "ingress.2284985723.from_port": "8300",
- "ingress.2284985723.ipv6_cidr_blocks.#": "0",
- "ingress.2284985723.prefix_list_ids.#": "0",
- "ingress.2284985723.protocol": "tcp",
- "ingress.2284985723.security_groups.#": "0",
- "ingress.2284985723.self": "true",
- "ingress.2284985723.to_port": "8300",
- "ingress.2541437006.cidr_blocks.#": "1",
- "ingress.2541437006.cidr_blocks.0": "0.0.0.0/0",
- "ingress.2541437006.description": "",
- "ingress.2541437006.from_port": "22",
- "ingress.2541437006.ipv6_cidr_blocks.#": "0",
- "ingress.2541437006.prefix_list_ids.#": "0",
- "ingress.2541437006.protocol": "tcp",
- "ingress.2541437006.security_groups.#": "0",
- "ingress.2541437006.self": "false",
- "ingress.2541437006.to_port": "22",
- "ingress.3325669966.cidr_blocks.#": "1",
- "ingress.3325669966.cidr_blocks.0": "0.0.0.0/0",
- "ingress.3325669966.description": "",
- "ingress.3325669966.from_port": "8301",
- "ingress.3325669966.ipv6_cidr_blocks.#": "0",
- "ingress.3325669966.prefix_list_ids.#": "0",
- "ingress.3325669966.protocol": "udp",
- "ingress.3325669966.security_groups.#": "0",
- "ingress.3325669966.self": "true",
- "ingress.3325669966.to_port": "8301",
- "ingress.343891797.cidr_blocks.#": "1",
- "ingress.343891797.cidr_blocks.0": "0.0.0.0/0",
- "ingress.343891797.description": "",
- "ingress.343891797.from_port": "8600",
- "ingress.343891797.ipv6_cidr_blocks.#": "0",
- "ingress.343891797.prefix_list_ids.#": "0",
- "ingress.343891797.protocol": "tcp",
- "ingress.343891797.security_groups.#": "0",
- "ingress.343891797.self": "true",
- "ingress.343891797.to_port": "8600",
- "ingress.4042602610.cidr_blocks.#": "1",
- "ingress.4042602610.cidr_blocks.0": "0.0.0.0/0",
- "ingress.4042602610.description": "",
- "ingress.4042602610.from_port": "8301",
- "ingress.4042602610.ipv6_cidr_blocks.#": "0",
- "ingress.4042602610.prefix_list_ids.#": "0",
- "ingress.4042602610.protocol": "tcp",
- "ingress.4042602610.security_groups.#": "0",
- "ingress.4042602610.self": "true",
- "ingress.4042602610.to_port": "8301",
- "ingress.4202854022.cidr_blocks.#": "1",
- "ingress.4202854022.cidr_blocks.0": "0.0.0.0/0",
- "ingress.4202854022.description": "",
- "ingress.4202854022.from_port": "8400",
- "ingress.4202854022.ipv6_cidr_blocks.#": "0",
- "ingress.4202854022.prefix_list_ids.#": "0",
- "ingress.4202854022.protocol": "tcp",
- "ingress.4202854022.security_groups.#": "0",
- "ingress.4202854022.self": "true",
- "ingress.4202854022.to_port": "8400",
- "ingress.582210921.cidr_blocks.#": "1",
- "ingress.582210921.cidr_blocks.0": "0.0.0.0/0",
- "ingress.582210921.description": "",
- "ingress.582210921.from_port": "8600",
- "ingress.582210921.ipv6_cidr_blocks.#": "0",
- "ingress.582210921.prefix_list_ids.#": "0",
- "ingress.582210921.protocol": "udp",
- "ingress.582210921.security_groups.#": "0",
- "ingress.582210921.self": "true",
- "ingress.582210921.to_port": "8600",
- "name": "consul-example-server20181203222113827900000004",
- "name_prefix": "consul-example-server",
- "owner_id": "798617457475",
- "revoke_rules_on_delete": "false",
- "tags.%": "1",
- "tags.Name": "consul-example-server",
- "vpc_id": "vpc-875c9ce3"
- },
- "meta": {
- "e2bfb730-ecaa-11e6-8f88-34363bc7c4c0": {
- "create": 600000000000,
- "delete": 600000000000
- },
- "schema_version": "1"
- },
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "aws_security_group_rule.allow_all_outbound": {
- "type": "aws_security_group_rule",
- "depends_on": [
- "aws_security_group.lc_security_group"
- ],
- "primary": {
- "id": "sgrule-3083776322",
- "attributes": {
- "cidr_blocks.#": "1",
- "cidr_blocks.0": "0.0.0.0/0",
- "description": "",
- "from_port": "0",
- "id": "sgrule-3083776322",
- "ipv6_cidr_blocks.#": "0",
- "prefix_list_ids.#": "0",
- "protocol": "-1",
- "security_group_id": "sg-0da5ffbf6ff31917a",
- "self": "false",
- "to_port": "0",
- "type": "egress"
- },
- "meta": {
- "schema_version": "2"
- },
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "aws_security_group_rule.allow_ssh_inbound": {
- "type": "aws_security_group_rule",
- "depends_on": [
- "aws_security_group.lc_security_group"
- ],
- "primary": {
- "id": "sgrule-704000970",
- "attributes": {
- "cidr_blocks.#": "1",
- "cidr_blocks.0": "0.0.0.0/0",
- "description": "",
- "from_port": "22",
- "id": "sgrule-704000970",
- "ipv6_cidr_blocks.#": "0",
- "prefix_list_ids.#": "0",
- "protocol": "tcp",
- "security_group_id": "sg-0da5ffbf6ff31917a",
- "self": "false",
- "to_port": "22",
- "type": "ingress"
- },
- "meta": {
- "schema_version": "2"
- },
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "data.aws_iam_policy_document.instance_role": {
- "type": "aws_iam_policy_document",
- "depends_on": [],
- "primary": {
- "id": "1903849331",
- "attributes": {
- "id": "1903849331",
- "json": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"\",\n \"Effect\": \"Allow\",\n \"Action\": \"sts:AssumeRole\",\n \"Principal\": {\n \"Service\": \"ec2.amazonaws.com\"\n }\n }\n ]\n}",
- "statement.#": "1",
- "statement.0.actions.#": "1",
- "statement.0.actions.2528466339": "sts:AssumeRole",
- "statement.0.condition.#": "0",
- "statement.0.effect": "Allow",
- "statement.0.not_actions.#": "0",
- "statement.0.not_principals.#": "0",
- "statement.0.not_resources.#": "0",
- "statement.0.principals.#": "1",
- "statement.0.principals.1134724139.identifiers.#": "1",
- "statement.0.principals.1134724139.identifiers.3655884555": "ec2.amazonaws.com",
- "statement.0.principals.1134724139.type": "Service",
- "statement.0.resources.#": "0",
- "statement.0.sid": ""
- },
- "meta": {},
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- }
- },
- "depends_on": []
- },
- {
- "path": [
- "root",
- "consul",
- "consul_clients",
- "iam_policies"
- ],
- "outputs": {},
- "resources": {
- "aws_iam_role_policy.auto_discover_cluster": {
- "type": "aws_iam_role_policy",
- "depends_on": [
- "data.aws_iam_policy_document.auto_discover_cluster"
- ],
- "primary": {
- "id": "consul-example-client20181203222113827100000001:auto-discover-cluster",
- "attributes": {
- "id": "consul-example-client20181203222113827100000001:auto-discover-cluster",
- "name": "auto-discover-cluster",
- "policy": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"\",\n \"Effect\": \"Allow\",\n \"Action\": [\n \"ec2:DescribeTags\",\n \"ec2:DescribeInstances\",\n \"autoscaling:DescribeAutoScalingGroups\"\n ],\n \"Resource\": \"*\"\n }\n ]\n}",
- "role": "consul-example-client20181203222113827100000001"
- },
- "meta": {},
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "data.aws_iam_policy_document.auto_discover_cluster": {
- "type": "aws_iam_policy_document",
- "depends_on": [],
- "primary": {
- "id": "2069168386",
- "attributes": {
- "id": "2069168386",
- "json": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"\",\n \"Effect\": \"Allow\",\n \"Action\": [\n \"ec2:DescribeTags\",\n \"ec2:DescribeInstances\",\n \"autoscaling:DescribeAutoScalingGroups\"\n ],\n \"Resource\": \"*\"\n }\n ]\n}",
- "statement.#": "1",
- "statement.0.actions.#": "3",
- "statement.0.actions.1274732150": "autoscaling:DescribeAutoScalingGroups",
- "statement.0.actions.3466923763": "ec2:DescribeInstances",
- "statement.0.actions.810672830": "ec2:DescribeTags",
- "statement.0.condition.#": "0",
- "statement.0.effect": "Allow",
- "statement.0.not_actions.#": "0",
- "statement.0.not_principals.#": "0",
- "statement.0.not_resources.#": "0",
- "statement.0.principals.#": "0",
- "statement.0.resources.#": "1",
- "statement.0.resources.2679715827": "*",
- "statement.0.sid": ""
- },
- "meta": {},
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- }
- },
- "depends_on": []
- },
- {
- "path": [
- "root",
- "consul",
- "consul_clients",
- "security_group_rules"
- ],
- "outputs": {},
- "resources": {
- "aws_security_group_rule.allow_cli_rpc_inbound": {
- "type": "aws_security_group_rule",
- "depends_on": [],
- "primary": {
- "id": "sgrule-3731438384",
- "attributes": {
- "cidr_blocks.#": "1",
- "cidr_blocks.0": "0.0.0.0/0",
- "description": "",
- "from_port": "8400",
- "id": "sgrule-3731438384",
- "ipv6_cidr_blocks.#": "0",
- "prefix_list_ids.#": "0",
- "protocol": "tcp",
- "security_group_id": "sg-054c9f9e09e086f34",
- "self": "false",
- "to_port": "8400",
- "type": "ingress"
- },
- "meta": {
- "schema_version": "2"
- },
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "aws_security_group_rule.allow_cli_rpc_inbound_from_self": {
- "type": "aws_security_group_rule",
- "depends_on": [],
- "primary": {
- "id": "sgrule-1891558326",
- "attributes": {
- "cidr_blocks.#": "0",
- "description": "",
- "from_port": "8400",
- "id": "sgrule-1891558326",
- "ipv6_cidr_blocks.#": "0",
- "prefix_list_ids.#": "0",
- "protocol": "tcp",
- "security_group_id": "sg-054c9f9e09e086f34",
- "self": "true",
- "source_security_group_id": "sg-054c9f9e09e086f34",
- "to_port": "8400",
- "type": "ingress"
- },
- "meta": {
- "schema_version": "2"
- },
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "aws_security_group_rule.allow_dns_tcp_inbound": {
- "type": "aws_security_group_rule",
- "depends_on": [],
- "primary": {
- "id": "sgrule-3605832189",
- "attributes": {
- "cidr_blocks.#": "1",
- "cidr_blocks.0": "0.0.0.0/0",
- "description": "",
- "from_port": "8600",
- "id": "sgrule-3605832189",
- "ipv6_cidr_blocks.#": "0",
- "prefix_list_ids.#": "0",
- "protocol": "tcp",
- "security_group_id": "sg-054c9f9e09e086f34",
- "self": "false",
- "to_port": "8600",
- "type": "ingress"
- },
- "meta": {
- "schema_version": "2"
- },
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "aws_security_group_rule.allow_dns_tcp_inbound_from_self": {
- "type": "aws_security_group_rule",
- "depends_on": [],
- "primary": {
- "id": "sgrule-1056568261",
- "attributes": {
- "cidr_blocks.#": "0",
- "description": "",
- "from_port": "8600",
- "id": "sgrule-1056568261",
- "ipv6_cidr_blocks.#": "0",
- "prefix_list_ids.#": "0",
- "protocol": "tcp",
- "security_group_id": "sg-054c9f9e09e086f34",
- "self": "true",
- "source_security_group_id": "sg-054c9f9e09e086f34",
- "to_port": "8600",
- "type": "ingress"
- },
- "meta": {
- "schema_version": "2"
- },
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "aws_security_group_rule.allow_dns_udp_inbound": {
- "type": "aws_security_group_rule",
- "depends_on": [],
- "primary": {
- "id": "sgrule-2820883301",
- "attributes": {
- "cidr_blocks.#": "1",
- "cidr_blocks.0": "0.0.0.0/0",
- "description": "",
- "from_port": "8600",
- "id": "sgrule-2820883301",
- "ipv6_cidr_blocks.#": "0",
- "prefix_list_ids.#": "0",
- "protocol": "udp",
- "security_group_id": "sg-054c9f9e09e086f34",
- "self": "false",
- "to_port": "8600",
- "type": "ingress"
- },
- "meta": {
- "schema_version": "2"
- },
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "aws_security_group_rule.allow_dns_udp_inbound_from_self": {
- "type": "aws_security_group_rule",
- "depends_on": [],
- "primary": {
- "id": "sgrule-2594590762",
- "attributes": {
- "cidr_blocks.#": "0",
- "description": "",
- "from_port": "8600",
- "id": "sgrule-2594590762",
- "ipv6_cidr_blocks.#": "0",
- "prefix_list_ids.#": "0",
- "protocol": "udp",
- "security_group_id": "sg-054c9f9e09e086f34",
- "self": "true",
- "source_security_group_id": "sg-054c9f9e09e086f34",
- "to_port": "8600",
- "type": "ingress"
- },
- "meta": {
- "schema_version": "2"
- },
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "aws_security_group_rule.allow_http_api_inbound": {
- "type": "aws_security_group_rule",
- "depends_on": [],
- "primary": {
- "id": "sgrule-932410742",
- "attributes": {
- "cidr_blocks.#": "1",
- "cidr_blocks.0": "0.0.0.0/0",
- "description": "",
- "from_port": "8500",
- "id": "sgrule-932410742",
- "ipv6_cidr_blocks.#": "0",
- "prefix_list_ids.#": "0",
- "protocol": "tcp",
- "security_group_id": "sg-054c9f9e09e086f34",
- "self": "false",
- "to_port": "8500",
- "type": "ingress"
- },
- "meta": {
- "schema_version": "2"
- },
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "aws_security_group_rule.allow_http_api_inbound_from_self": {
- "type": "aws_security_group_rule",
- "depends_on": [],
- "primary": {
- "id": "sgrule-3123046575",
- "attributes": {
- "cidr_blocks.#": "0",
- "description": "",
- "from_port": "8500",
- "id": "sgrule-3123046575",
- "ipv6_cidr_blocks.#": "0",
- "prefix_list_ids.#": "0",
- "protocol": "tcp",
- "security_group_id": "sg-054c9f9e09e086f34",
- "self": "true",
- "source_security_group_id": "sg-054c9f9e09e086f34",
- "to_port": "8500",
- "type": "ingress"
- },
- "meta": {
- "schema_version": "2"
- },
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "aws_security_group_rule.allow_serf_wan_tcp_inbound": {
- "type": "aws_security_group_rule",
- "depends_on": [],
- "primary": {
- "id": "sgrule-824812646",
- "attributes": {
- "cidr_blocks.#": "1",
- "cidr_blocks.0": "0.0.0.0/0",
- "description": "",
- "from_port": "8302",
- "id": "sgrule-824812646",
- "ipv6_cidr_blocks.#": "0",
- "prefix_list_ids.#": "0",
- "protocol": "tcp",
- "security_group_id": "sg-054c9f9e09e086f34",
- "self": "false",
- "to_port": "8302",
- "type": "ingress"
- },
- "meta": {
- "schema_version": "2"
- },
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "aws_security_group_rule.allow_serf_wan_tcp_inbound_from_self": {
- "type": "aws_security_group_rule",
- "depends_on": [],
- "primary": {
- "id": "sgrule-2451722322",
- "attributes": {
- "cidr_blocks.#": "0",
- "description": "",
- "from_port": "8302",
- "id": "sgrule-2451722322",
- "ipv6_cidr_blocks.#": "0",
- "prefix_list_ids.#": "0",
- "protocol": "tcp",
- "security_group_id": "sg-054c9f9e09e086f34",
- "self": "true",
- "source_security_group_id": "sg-054c9f9e09e086f34",
- "to_port": "8302",
- "type": "ingress"
- },
- "meta": {
- "schema_version": "2"
- },
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "aws_security_group_rule.allow_serf_wan_udp_inbound": {
- "type": "aws_security_group_rule",
- "depends_on": [],
- "primary": {
- "id": "sgrule-1340491518",
- "attributes": {
- "cidr_blocks.#": "1",
- "cidr_blocks.0": "0.0.0.0/0",
- "description": "",
- "from_port": "8302",
- "id": "sgrule-1340491518",
- "ipv6_cidr_blocks.#": "0",
- "prefix_list_ids.#": "0",
- "protocol": "udp",
- "security_group_id": "sg-054c9f9e09e086f34",
- "self": "false",
- "to_port": "8302",
- "type": "ingress"
- },
- "meta": {
- "schema_version": "2"
- },
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "aws_security_group_rule.allow_serf_wan_udp_inbound_from_self": {
- "type": "aws_security_group_rule",
- "depends_on": [],
- "primary": {
- "id": "sgrule-914224061",
- "attributes": {
- "cidr_blocks.#": "0",
- "description": "",
- "from_port": "8302",
- "id": "sgrule-914224061",
- "ipv6_cidr_blocks.#": "0",
- "prefix_list_ids.#": "0",
- "protocol": "udp",
- "security_group_id": "sg-054c9f9e09e086f34",
- "self": "true",
- "source_security_group_id": "sg-054c9f9e09e086f34",
- "to_port": "8302",
- "type": "ingress"
- },
- "meta": {
- "schema_version": "2"
- },
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "aws_security_group_rule.allow_server_rpc_inbound": {
- "type": "aws_security_group_rule",
- "depends_on": [],
- "primary": {
- "id": "sgrule-773708321",
- "attributes": {
- "cidr_blocks.#": "1",
- "cidr_blocks.0": "0.0.0.0/0",
- "description": "",
- "from_port": "8300",
- "id": "sgrule-773708321",
- "ipv6_cidr_blocks.#": "0",
- "prefix_list_ids.#": "0",
- "protocol": "tcp",
- "security_group_id": "sg-054c9f9e09e086f34",
- "self": "false",
- "to_port": "8300",
- "type": "ingress"
- },
- "meta": {
- "schema_version": "2"
- },
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "aws_security_group_rule.allow_server_rpc_inbound_from_self": {
- "type": "aws_security_group_rule",
- "depends_on": [],
- "primary": {
- "id": "sgrule-1760352314",
- "attributes": {
- "cidr_blocks.#": "0",
- "description": "",
- "from_port": "8300",
- "id": "sgrule-1760352314",
- "ipv6_cidr_blocks.#": "0",
- "prefix_list_ids.#": "0",
- "protocol": "tcp",
- "security_group_id": "sg-054c9f9e09e086f34",
- "self": "true",
- "source_security_group_id": "sg-054c9f9e09e086f34",
- "to_port": "8300",
- "type": "ingress"
- },
- "meta": {
- "schema_version": "2"
- },
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- }
- },
- "depends_on": []
- },
- {
- "path": [
- "root",
- "consul",
- "consul_servers",
- "iam_policies"
- ],
- "outputs": {},
- "resources": {
- "aws_iam_role_policy.auto_discover_cluster": {
- "type": "aws_iam_role_policy",
- "depends_on": [
- "data.aws_iam_policy_document.auto_discover_cluster"
- ],
- "primary": {
- "id": "consul-example-server20181203222113827200000002:auto-discover-cluster",
- "attributes": {
- "id": "consul-example-server20181203222113827200000002:auto-discover-cluster",
- "name": "auto-discover-cluster",
- "policy": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"\",\n \"Effect\": \"Allow\",\n \"Action\": [\n \"ec2:DescribeTags\",\n \"ec2:DescribeInstances\",\n \"autoscaling:DescribeAutoScalingGroups\"\n ],\n \"Resource\": \"*\"\n }\n ]\n}",
- "role": "consul-example-server20181203222113827200000002"
- },
- "meta": {},
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "data.aws_iam_policy_document.auto_discover_cluster": {
- "type": "aws_iam_policy_document",
- "depends_on": [],
- "primary": {
- "id": "2069168386",
- "attributes": {
- "id": "2069168386",
- "json": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"\",\n \"Effect\": \"Allow\",\n \"Action\": [\n \"ec2:DescribeTags\",\n \"ec2:DescribeInstances\",\n \"autoscaling:DescribeAutoScalingGroups\"\n ],\n \"Resource\": \"*\"\n }\n ]\n}",
- "statement.#": "1",
- "statement.0.actions.#": "3",
- "statement.0.actions.1274732150": "autoscaling:DescribeAutoScalingGroups",
- "statement.0.actions.3466923763": "ec2:DescribeInstances",
- "statement.0.actions.810672830": "ec2:DescribeTags",
- "statement.0.condition.#": "0",
- "statement.0.effect": "Allow",
- "statement.0.not_actions.#": "0",
- "statement.0.not_principals.#": "0",
- "statement.0.not_resources.#": "0",
- "statement.0.principals.#": "0",
- "statement.0.resources.#": "1",
- "statement.0.resources.2679715827": "*",
- "statement.0.sid": ""
- },
- "meta": {},
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- }
- },
- "depends_on": []
- },
- {
- "path": [
- "root",
- "consul",
- "consul_servers",
- "security_group_rules"
- ],
- "outputs": {},
- "resources": {
- "aws_security_group_rule.allow_cli_rpc_inbound": {
- "type": "aws_security_group_rule",
- "depends_on": [],
- "primary": {
- "id": "sgrule-1113864823",
- "attributes": {
- "cidr_blocks.#": "1",
- "cidr_blocks.0": "0.0.0.0/0",
- "description": "",
- "from_port": "8400",
- "id": "sgrule-1113864823",
- "ipv6_cidr_blocks.#": "0",
- "prefix_list_ids.#": "0",
- "protocol": "tcp",
- "security_group_id": "sg-0da5ffbf6ff31917a",
- "self": "false",
- "to_port": "8400",
- "type": "ingress"
- },
- "meta": {
- "schema_version": "2"
- },
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "aws_security_group_rule.allow_cli_rpc_inbound_from_self": {
- "type": "aws_security_group_rule",
- "depends_on": [],
- "primary": {
- "id": "sgrule-756399475",
- "attributes": {
- "cidr_blocks.#": "0",
- "description": "",
- "from_port": "8400",
- "id": "sgrule-756399475",
- "ipv6_cidr_blocks.#": "0",
- "prefix_list_ids.#": "0",
- "protocol": "tcp",
- "security_group_id": "sg-0da5ffbf6ff31917a",
- "self": "true",
- "source_security_group_id": "sg-0da5ffbf6ff31917a",
- "to_port": "8400",
- "type": "ingress"
- },
- "meta": {
- "schema_version": "2"
- },
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "aws_security_group_rule.allow_dns_tcp_inbound": {
- "type": "aws_security_group_rule",
- "depends_on": [],
- "primary": {
- "id": "sgrule-1256300730",
- "attributes": {
- "cidr_blocks.#": "1",
- "cidr_blocks.0": "0.0.0.0/0",
- "description": "",
- "from_port": "8600",
- "id": "sgrule-1256300730",
- "ipv6_cidr_blocks.#": "0",
- "prefix_list_ids.#": "0",
- "protocol": "tcp",
- "security_group_id": "sg-0da5ffbf6ff31917a",
- "self": "false",
- "to_port": "8600",
- "type": "ingress"
- },
- "meta": {
- "schema_version": "2"
- },
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "aws_security_group_rule.allow_dns_tcp_inbound_from_self": {
- "type": "aws_security_group_rule",
- "depends_on": [],
- "primary": {
- "id": "sgrule-1666362624",
- "attributes": {
- "cidr_blocks.#": "0",
- "description": "",
- "from_port": "8600",
- "id": "sgrule-1666362624",
- "ipv6_cidr_blocks.#": "0",
- "prefix_list_ids.#": "0",
- "protocol": "tcp",
- "security_group_id": "sg-0da5ffbf6ff31917a",
- "self": "true",
- "source_security_group_id": "sg-0da5ffbf6ff31917a",
- "to_port": "8600",
- "type": "ingress"
- },
- "meta": {
- "schema_version": "2"
- },
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "aws_security_group_rule.allow_dns_udp_inbound": {
- "type": "aws_security_group_rule",
- "depends_on": [],
- "primary": {
- "id": "sgrule-875446818",
- "attributes": {
- "cidr_blocks.#": "1",
- "cidr_blocks.0": "0.0.0.0/0",
- "description": "",
- "from_port": "8600",
- "id": "sgrule-875446818",
- "ipv6_cidr_blocks.#": "0",
- "prefix_list_ids.#": "0",
- "protocol": "udp",
- "security_group_id": "sg-0da5ffbf6ff31917a",
- "self": "false",
- "to_port": "8600",
- "type": "ingress"
- },
- "meta": {
- "schema_version": "2"
- },
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "aws_security_group_rule.allow_dns_udp_inbound_from_self": {
- "type": "aws_security_group_rule",
- "depends_on": [],
- "primary": {
- "id": "sgrule-3339521775",
- "attributes": {
- "cidr_blocks.#": "0",
- "description": "",
- "from_port": "8600",
- "id": "sgrule-3339521775",
- "ipv6_cidr_blocks.#": "0",
- "prefix_list_ids.#": "0",
- "protocol": "udp",
- "security_group_id": "sg-0da5ffbf6ff31917a",
- "self": "true",
- "source_security_group_id": "sg-0da5ffbf6ff31917a",
- "to_port": "8600",
- "type": "ingress"
- },
- "meta": {
- "schema_version": "2"
- },
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "aws_security_group_rule.allow_http_api_inbound": {
- "type": "aws_security_group_rule",
- "depends_on": [],
- "primary": {
- "id": "sgrule-2879288369",
- "attributes": {
- "cidr_blocks.#": "1",
- "cidr_blocks.0": "0.0.0.0/0",
- "description": "",
- "from_port": "8500",
- "id": "sgrule-2879288369",
- "ipv6_cidr_blocks.#": "0",
- "prefix_list_ids.#": "0",
- "protocol": "tcp",
- "security_group_id": "sg-0da5ffbf6ff31917a",
- "self": "false",
- "to_port": "8500",
- "type": "ingress"
- },
- "meta": {
- "schema_version": "2"
- },
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "aws_security_group_rule.allow_http_api_inbound_from_self": {
- "type": "aws_security_group_rule",
- "depends_on": [],
- "primary": {
- "id": "sgrule-3884889706",
- "attributes": {
- "cidr_blocks.#": "0",
- "description": "",
- "from_port": "8500",
- "id": "sgrule-3884889706",
- "ipv6_cidr_blocks.#": "0",
- "prefix_list_ids.#": "0",
- "protocol": "tcp",
- "security_group_id": "sg-0da5ffbf6ff31917a",
- "self": "true",
- "source_security_group_id": "sg-0da5ffbf6ff31917a",
- "to_port": "8500",
- "type": "ingress"
- },
- "meta": {
- "schema_version": "2"
- },
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "aws_security_group_rule.allow_serf_wan_tcp_inbound": {
- "type": "aws_security_group_rule",
- "depends_on": [],
- "primary": {
- "id": "sgrule-2904859937",
- "attributes": {
- "cidr_blocks.#": "1",
- "cidr_blocks.0": "0.0.0.0/0",
- "description": "",
- "from_port": "8302",
- "id": "sgrule-2904859937",
- "ipv6_cidr_blocks.#": "0",
- "prefix_list_ids.#": "0",
- "protocol": "tcp",
- "security_group_id": "sg-0da5ffbf6ff31917a",
- "self": "false",
- "to_port": "8302",
- "type": "ingress"
- },
- "meta": {
- "schema_version": "2"
- },
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "aws_security_group_rule.allow_serf_wan_tcp_inbound_from_self": {
- "type": "aws_security_group_rule",
- "depends_on": [],
- "primary": {
- "id": "sgrule-3481865879",
- "attributes": {
- "cidr_blocks.#": "0",
- "description": "",
- "from_port": "8302",
- "id": "sgrule-3481865879",
- "ipv6_cidr_blocks.#": "0",
- "prefix_list_ids.#": "0",
- "protocol": "tcp",
- "security_group_id": "sg-0da5ffbf6ff31917a",
- "self": "true",
- "source_security_group_id": "sg-0da5ffbf6ff31917a",
- "to_port": "8302",
- "type": "ingress"
- },
- "meta": {
- "schema_version": "2"
- },
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "aws_security_group_rule.allow_serf_wan_udp_inbound": {
- "type": "aws_security_group_rule",
- "depends_on": [],
- "primary": {
- "id": "sgrule-3555411897",
- "attributes": {
- "cidr_blocks.#": "1",
- "cidr_blocks.0": "0.0.0.0/0",
- "description": "",
- "from_port": "8302",
- "id": "sgrule-3555411897",
- "ipv6_cidr_blocks.#": "0",
- "prefix_list_ids.#": "0",
- "protocol": "udp",
- "security_group_id": "sg-0da5ffbf6ff31917a",
- "self": "false",
- "to_port": "8302",
- "type": "ingress"
- },
- "meta": {
- "schema_version": "2"
- },
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "aws_security_group_rule.allow_serf_wan_udp_inbound_from_self": {
- "type": "aws_security_group_rule",
- "depends_on": [],
- "primary": {
- "id": "sgrule-1809231224",
- "attributes": {
- "cidr_blocks.#": "0",
- "description": "",
- "from_port": "8302",
- "id": "sgrule-1809231224",
- "ipv6_cidr_blocks.#": "0",
- "prefix_list_ids.#": "0",
- "protocol": "udp",
- "security_group_id": "sg-0da5ffbf6ff31917a",
- "self": "true",
- "source_security_group_id": "sg-0da5ffbf6ff31917a",
- "to_port": "8302",
- "type": "ingress"
- },
- "meta": {
- "schema_version": "2"
- },
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "aws_security_group_rule.allow_server_rpc_inbound": {
- "type": "aws_security_group_rule",
- "depends_on": [],
- "primary": {
- "id": "sgrule-2987449190",
- "attributes": {
- "cidr_blocks.#": "1",
- "cidr_blocks.0": "0.0.0.0/0",
- "description": "",
- "from_port": "8300",
- "id": "sgrule-2987449190",
- "ipv6_cidr_blocks.#": "0",
- "prefix_list_ids.#": "0",
- "protocol": "tcp",
- "security_group_id": "sg-0da5ffbf6ff31917a",
- "self": "false",
- "to_port": "8300",
- "type": "ingress"
- },
- "meta": {
- "schema_version": "2"
- },
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "aws_security_group_rule.allow_server_rpc_inbound_from_self": {
- "type": "aws_security_group_rule",
- "depends_on": [],
- "primary": {
- "id": "sgrule-893880063",
- "attributes": {
- "cidr_blocks.#": "0",
- "description": "",
- "from_port": "8300",
- "id": "sgrule-893880063",
- "ipv6_cidr_blocks.#": "0",
- "prefix_list_ids.#": "0",
- "protocol": "tcp",
- "security_group_id": "sg-0da5ffbf6ff31917a",
- "self": "true",
- "source_security_group_id": "sg-0da5ffbf6ff31917a",
- "to_port": "8300",
- "type": "ingress"
- },
- "meta": {
- "schema_version": "2"
- },
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- }
- },
- "depends_on": []
- },
- {
- "path": [
- "root",
- "consul",
- "consul_clients",
- "security_group_rules",
- "client_security_group_rules"
- ],
- "outputs": {},
- "resources": {
- "aws_security_group_rule.allow_serf_lan_tcp_inbound": {
- "type": "aws_security_group_rule",
- "depends_on": [],
- "primary": {
- "id": "sgrule-3426706978",
- "attributes": {
- "cidr_blocks.#": "1",
- "cidr_blocks.0": "0.0.0.0/0",
- "description": "",
- "from_port": "8301",
- "id": "sgrule-3426706978",
- "ipv6_cidr_blocks.#": "0",
- "prefix_list_ids.#": "0",
- "protocol": "tcp",
- "security_group_id": "sg-054c9f9e09e086f34",
- "self": "false",
- "to_port": "8301",
- "type": "ingress"
- },
- "meta": {
- "schema_version": "2"
- },
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "aws_security_group_rule.allow_serf_lan_tcp_inbound_from_self": {
- "type": "aws_security_group_rule",
- "depends_on": [],
- "primary": {
- "id": "sgrule-361470990",
- "attributes": {
- "cidr_blocks.#": "0",
- "description": "",
- "from_port": "8301",
- "id": "sgrule-361470990",
- "ipv6_cidr_blocks.#": "0",
- "prefix_list_ids.#": "0",
- "protocol": "tcp",
- "security_group_id": "sg-054c9f9e09e086f34",
- "self": "true",
- "source_security_group_id": "sg-054c9f9e09e086f34",
- "to_port": "8301",
- "type": "ingress"
- },
- "meta": {
- "schema_version": "2"
- },
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "aws_security_group_rule.allow_serf_lan_udp_inbound": {
- "type": "aws_security_group_rule",
- "depends_on": [],
- "primary": {
- "id": "sgrule-3002107066",
- "attributes": {
- "cidr_blocks.#": "1",
- "cidr_blocks.0": "0.0.0.0/0",
- "description": "",
- "from_port": "8301",
- "id": "sgrule-3002107066",
- "ipv6_cidr_blocks.#": "0",
- "prefix_list_ids.#": "0",
- "protocol": "udp",
- "security_group_id": "sg-054c9f9e09e086f34",
- "self": "false",
- "to_port": "8301",
- "type": "ingress"
- },
- "meta": {
- "schema_version": "2"
- },
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "aws_security_group_rule.allow_serf_lan_udp_inbound_from_self": {
- "type": "aws_security_group_rule",
- "depends_on": [],
- "primary": {
- "id": "sgrule-2983477217",
- "attributes": {
- "cidr_blocks.#": "0",
- "description": "",
- "from_port": "8301",
- "id": "sgrule-2983477217",
- "ipv6_cidr_blocks.#": "0",
- "prefix_list_ids.#": "0",
- "protocol": "udp",
- "security_group_id": "sg-054c9f9e09e086f34",
- "self": "true",
- "source_security_group_id": "sg-054c9f9e09e086f34",
- "to_port": "8301",
- "type": "ingress"
- },
- "meta": {
- "schema_version": "2"
- },
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- }
- },
- "depends_on": []
- },
- {
- "path": [
- "root",
- "consul",
- "consul_servers",
- "security_group_rules",
- "client_security_group_rules"
- ],
"outputs": {},
- "resources": {
- "aws_security_group_rule.allow_serf_lan_tcp_inbound": {
- "type": "aws_security_group_rule",
- "depends_on": [],
- "primary": {
- "id": "sgrule-1345480549",
- "attributes": {
- "cidr_blocks.#": "1",
- "cidr_blocks.0": "0.0.0.0/0",
- "description": "",
- "from_port": "8301",
- "id": "sgrule-1345480549",
- "ipv6_cidr_blocks.#": "0",
- "prefix_list_ids.#": "0",
- "protocol": "tcp",
- "security_group_id": "sg-0da5ffbf6ff31917a",
- "self": "false",
- "to_port": "8301",
- "type": "ingress"
- },
- "meta": {
- "schema_version": "2"
- },
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "aws_security_group_rule.allow_serf_lan_tcp_inbound_from_self": {
- "type": "aws_security_group_rule",
- "depends_on": [],
- "primary": {
- "id": "sgrule-1210106571",
- "attributes": {
- "cidr_blocks.#": "0",
- "description": "",
- "from_port": "8301",
- "id": "sgrule-1210106571",
- "ipv6_cidr_blocks.#": "0",
- "prefix_list_ids.#": "0",
- "protocol": "tcp",
- "security_group_id": "sg-0da5ffbf6ff31917a",
- "self": "true",
- "source_security_group_id": "sg-0da5ffbf6ff31917a",
- "to_port": "8301",
- "type": "ingress"
- },
- "meta": {
- "schema_version": "2"
- },
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "aws_security_group_rule.allow_serf_lan_udp_inbound": {
- "type": "aws_security_group_rule",
- "depends_on": [],
- "primary": {
- "id": "sgrule-788366845",
- "attributes": {
- "cidr_blocks.#": "1",
- "cidr_blocks.0": "0.0.0.0/0",
- "description": "",
- "from_port": "8301",
- "id": "sgrule-788366845",
- "ipv6_cidr_blocks.#": "0",
- "prefix_list_ids.#": "0",
- "protocol": "udp",
- "security_group_id": "sg-0da5ffbf6ff31917a",
- "self": "false",
- "to_port": "8301",
- "type": "ingress"
- },
- "meta": {
- "schema_version": "2"
- },
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- },
- "aws_security_group_rule.allow_serf_lan_udp_inbound_from_self": {
- "type": "aws_security_group_rule",
- "depends_on": [],
- "primary": {
- "id": "sgrule-3967770916",
- "attributes": {
- "cidr_blocks.#": "0",
- "description": "",
- "from_port": "8301",
- "id": "sgrule-3967770916",
- "ipv6_cidr_blocks.#": "0",
- "prefix_list_ids.#": "0",
- "protocol": "udp",
- "security_group_id": "sg-0da5ffbf6ff31917a",
- "self": "true",
- "source_security_group_id": "sg-0da5ffbf6ff31917a",
- "to_port": "8301",
- "type": "ingress"
- },
- "meta": {
- "schema_version": "2"
- },
- "tainted": false
- },
- "deposed": [],
- "provider": "provider.aws"
- }
- },
+ "resources": {},
"depends_on": []
}
]