610 lines
25 KiB
JSON
610 lines
25 KiB
JSON
{
|
|
"version": 4,
|
|
"terraform_version": "1.6.2",
|
|
"serial": 96,
|
|
"lineage": "a100be74-c98e-0769-2d6a-bf6a2c5f3ebf",
|
|
"outputs": {},
|
|
"resources": [
|
|
{
|
|
"mode": "data",
|
|
"type": "aws_ami",
|
|
"name": "latest-fedora",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
|
|
"instances": [
|
|
{
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"architecture": "arm64",
|
|
"arn": "arn:aws:ec2:us-east-2::image/ami-0dcd72048e69236de",
|
|
"block_device_mappings": [
|
|
{
|
|
"device_name": "/dev/sda1",
|
|
"ebs": {
|
|
"delete_on_termination": "true",
|
|
"encrypted": "false",
|
|
"iops": "0",
|
|
"snapshot_id": "snap-01034e15b97a1b584",
|
|
"throughput": "0",
|
|
"volume_size": "6",
|
|
"volume_type": "gp2"
|
|
},
|
|
"no_device": "",
|
|
"virtual_name": ""
|
|
}
|
|
],
|
|
"boot_mode": "",
|
|
"creation_date": "2023-04-14T00:16:49.000Z",
|
|
"deprecation_time": "2025-04-14T00:16:49.000Z",
|
|
"description": "Fedora AMI Description",
|
|
"ena_support": true,
|
|
"executable_users": null,
|
|
"filter": [
|
|
{
|
|
"name": "architecture",
|
|
"values": [
|
|
"arm64"
|
|
]
|
|
},
|
|
{
|
|
"name": "name",
|
|
"values": [
|
|
"Fedora-Cloud-Base-38-1.*"
|
|
]
|
|
},
|
|
{
|
|
"name": "virtualization-type",
|
|
"values": [
|
|
"hvm"
|
|
]
|
|
}
|
|
],
|
|
"hypervisor": "xen",
|
|
"id": "ami-0dcd72048e69236de",
|
|
"image_id": "ami-0dcd72048e69236de",
|
|
"image_location": "125523088429/Fedora-Cloud-Base-38-1.6.aarch64-hvm-us-east-2-gp2-0",
|
|
"image_owner_alias": "",
|
|
"image_type": "machine",
|
|
"include_deprecated": false,
|
|
"kernel_id": "",
|
|
"most_recent": true,
|
|
"name": "Fedora-Cloud-Base-38-1.6.aarch64-hvm-us-east-2-gp2-0",
|
|
"name_regex": null,
|
|
"owner_id": "125523088429",
|
|
"owners": [
|
|
"125523088429"
|
|
],
|
|
"platform": "",
|
|
"platform_details": "Linux/UNIX",
|
|
"product_codes": [],
|
|
"public": true,
|
|
"ramdisk_id": "",
|
|
"root_device_name": "/dev/sda1",
|
|
"root_device_type": "ebs",
|
|
"root_snapshot_id": "snap-01034e15b97a1b584",
|
|
"sriov_net_support": "",
|
|
"state": "available",
|
|
"state_reason": {
|
|
"code": "UNSET",
|
|
"message": "UNSET"
|
|
},
|
|
"tags": {},
|
|
"timeouts": null,
|
|
"tpm_support": "",
|
|
"usage_operation": "RunInstances",
|
|
"virtualization_type": "hvm"
|
|
},
|
|
"sensitive_attributes": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"mode": "data",
|
|
"type": "aws_caller_identity",
|
|
"name": "current",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
|
|
"instances": [
|
|
{
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"account_id": "566967686773",
|
|
"arn": "arn:aws:sts::566967686773:assumed-role/dynk8s-terraform/aws-go-sdk-1705162223321505341",
|
|
"id": "566967686773",
|
|
"user_id": "AROAYIAPIKZ25DFDOYZHT:aws-go-sdk-1705162223321505341"
|
|
},
|
|
"sensitive_attributes": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"mode": "data",
|
|
"type": "aws_iam_policy_document",
|
|
"name": "ec2_events_access_policy",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
|
|
"instances": [
|
|
{
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"id": "2883441170",
|
|
"json": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"__default_statement_ID\",\n \"Effect\": \"Allow\",\n \"Action\": [\n \"SNS:Subscribe\",\n \"SNS:SetTopicAttributes\",\n \"SNS:RemovePermission\",\n \"SNS:Receive\",\n \"SNS:Publish\",\n \"SNS:ListSubscriptionsByTopic\",\n \"SNS:GetTopicAttributes\",\n \"SNS:DeleteTopic\",\n \"SNS:AddPermission\"\n ],\n \"Resource\": \"arn:aws:sns:us-east-2:566967686773:ec2-events\",\n \"Principal\": {\n \"AWS\": \"*\"\n },\n \"Condition\": {\n \"StringEquals\": {\n \"AWS:SourceOwner\": \"566967686773\"\n }\n }\n },\n {\n \"Sid\": \"AllowEventBridgePublish\",\n \"Effect\": \"Allow\",\n \"Action\": \"sns:Publish\",\n \"Resource\": \"arn:aws:sns:us-east-2:566967686773:ec2-events\",\n \"Principal\": {\n \"Service\": \"events.amazonaws.com\"\n }\n }\n ]\n}",
|
|
"override_json": null,
|
|
"override_policy_documents": null,
|
|
"policy_id": null,
|
|
"source_json": null,
|
|
"source_policy_documents": null,
|
|
"statement": [
|
|
{
|
|
"actions": [
|
|
"SNS:AddPermission",
|
|
"SNS:DeleteTopic",
|
|
"SNS:GetTopicAttributes",
|
|
"SNS:ListSubscriptionsByTopic",
|
|
"SNS:Publish",
|
|
"SNS:Receive",
|
|
"SNS:RemovePermission",
|
|
"SNS:SetTopicAttributes",
|
|
"SNS:Subscribe"
|
|
],
|
|
"condition": [
|
|
{
|
|
"test": "StringEquals",
|
|
"values": [
|
|
"566967686773"
|
|
],
|
|
"variable": "AWS:SourceOwner"
|
|
}
|
|
],
|
|
"effect": "Allow",
|
|
"not_actions": [],
|
|
"not_principals": [],
|
|
"not_resources": [],
|
|
"principals": [
|
|
{
|
|
"identifiers": [
|
|
"*"
|
|
],
|
|
"type": "AWS"
|
|
}
|
|
],
|
|
"resources": [
|
|
"arn:aws:sns:us-east-2:566967686773:ec2-events"
|
|
],
|
|
"sid": "__default_statement_ID"
|
|
},
|
|
{
|
|
"actions": [
|
|
"sns:Publish"
|
|
],
|
|
"condition": [],
|
|
"effect": "Allow",
|
|
"not_actions": [],
|
|
"not_principals": [],
|
|
"not_resources": [],
|
|
"principals": [
|
|
{
|
|
"identifiers": [
|
|
"events.amazonaws.com"
|
|
],
|
|
"type": "Service"
|
|
}
|
|
],
|
|
"resources": [
|
|
"arn:aws:sns:us-east-2:566967686773:ec2-events"
|
|
],
|
|
"sid": "AllowEventBridgePublish"
|
|
}
|
|
],
|
|
"version": "2012-10-17"
|
|
},
|
|
"sensitive_attributes": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"mode": "managed",
|
|
"type": "aws_autoscaling_group",
|
|
"name": "k8s-aarch64",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
|
|
"instances": [
|
|
{
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"arn": "arn:aws:autoscaling:us-east-2:566967686773:autoScalingGroup:e5c074b6-9c58-478c-92ec-f0685465ca3d:autoScalingGroupName/k8s-aarch64",
|
|
"availability_zones": [
|
|
"us-east-2a",
|
|
"us-east-2b",
|
|
"us-east-2c"
|
|
],
|
|
"capacity_rebalance": false,
|
|
"context": "",
|
|
"default_cooldown": 300,
|
|
"default_instance_warmup": 0,
|
|
"desired_capacity": 1,
|
|
"enabled_metrics": [],
|
|
"force_delete": false,
|
|
"force_delete_warm_pool": false,
|
|
"health_check_grace_period": 300,
|
|
"health_check_type": "EC2",
|
|
"id": "k8s-aarch64",
|
|
"initial_lifecycle_hook": [],
|
|
"instance_refresh": [],
|
|
"launch_configuration": "",
|
|
"launch_template": [
|
|
{
|
|
"id": "lt-0789a3800bdaec215",
|
|
"name": "k8s-aarch64",
|
|
"version": "$Default"
|
|
}
|
|
],
|
|
"load_balancers": [],
|
|
"max_instance_lifetime": 0,
|
|
"max_size": 1,
|
|
"metrics_granularity": "1Minute",
|
|
"min_elb_capacity": null,
|
|
"min_size": 0,
|
|
"mixed_instances_policy": [],
|
|
"name": "k8s-aarch64",
|
|
"name_prefix": "",
|
|
"placement_group": "",
|
|
"protect_from_scale_in": false,
|
|
"service_linked_role_arn": "arn:aws:iam::566967686773:role/aws-service-role/autoscaling.amazonaws.com/AWSServiceRoleForAutoScaling",
|
|
"suspended_processes": [],
|
|
"tag": [
|
|
{
|
|
"key": "k8s.io/cluster-autoscaler/enabled",
|
|
"propagate_at_launch": true,
|
|
"value": "true"
|
|
},
|
|
{
|
|
"key": "k8s.io/cluster-autoscaler/kubernetes",
|
|
"propagate_at_launch": true,
|
|
"value": "owned"
|
|
}
|
|
],
|
|
"tags": null,
|
|
"target_group_arns": [],
|
|
"termination_policies": [],
|
|
"timeouts": null,
|
|
"vpc_zone_identifier": [],
|
|
"wait_for_capacity_timeout": "10m",
|
|
"wait_for_elb_capacity": null,
|
|
"warm_pool": []
|
|
},
|
|
"sensitive_attributes": [],
|
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiZGVsZXRlIjo2MDAwMDAwMDAwMDAsInVwZGF0ZSI6NjAwMDAwMDAwMDAwfX0=",
|
|
"dependencies": [
|
|
"aws_launch_template.k8s-aarch64",
|
|
"aws_security_group.k8s-node",
|
|
"data.aws_ami.latest-fedora"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"mode": "managed",
|
|
"type": "aws_cloudwatch_event_rule",
|
|
"name": "instance_state",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
|
|
"instances": [
|
|
{
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"arn": "arn:aws:events:us-east-2:566967686773:rule/instance-state-events",
|
|
"description": "",
|
|
"event_bus_name": "default",
|
|
"event_pattern": "{\"detail-type\":[\"EC2 Instance State-change Notification\"],\"source\":[\"aws.ec2\"]}",
|
|
"id": "instance-state-events",
|
|
"is_enabled": true,
|
|
"name": "instance-state-events",
|
|
"name_prefix": "",
|
|
"role_arn": "",
|
|
"schedule_expression": "",
|
|
"tags": {},
|
|
"tags_all": {}
|
|
},
|
|
"sensitive_attributes": [],
|
|
"private": "bnVsbA=="
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"mode": "managed",
|
|
"type": "aws_cloudwatch_event_target",
|
|
"name": "sns",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
|
|
"instances": [
|
|
{
|
|
"schema_version": 1,
|
|
"attributes": {
|
|
"arn": "arn:aws:sns:us-east-2:566967686773:ec2-events",
|
|
"batch_target": [],
|
|
"dead_letter_config": [],
|
|
"ecs_target": [],
|
|
"event_bus_name": "default",
|
|
"http_target": [],
|
|
"id": "instance-state-events-SendToSNS",
|
|
"input": "",
|
|
"input_path": "",
|
|
"input_transformer": [],
|
|
"kinesis_target": [],
|
|
"redshift_target": [],
|
|
"retry_policy": [],
|
|
"role_arn": "",
|
|
"rule": "instance-state-events",
|
|
"run_command_targets": [],
|
|
"sqs_target": [],
|
|
"target_id": "SendToSNS"
|
|
},
|
|
"sensitive_attributes": [],
|
|
"private": "eyJzY2hlbWFfdmVyc2lvbiI6IjEifQ==",
|
|
"dependencies": [
|
|
"aws_cloudwatch_event_rule.instance_state",
|
|
"aws_sns_topic.ec2_events"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"mode": "managed",
|
|
"type": "aws_launch_template",
|
|
"name": "k8s-aarch64",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
|
|
"instances": [
|
|
{
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"arn": "arn:aws:ec2:us-east-2:566967686773:launch-template/lt-0789a3800bdaec215",
|
|
"block_device_mappings": [],
|
|
"capacity_reservation_specification": [],
|
|
"cpu_options": [],
|
|
"credit_specification": [],
|
|
"default_version": 21,
|
|
"description": "",
|
|
"disable_api_stop": false,
|
|
"disable_api_termination": false,
|
|
"ebs_optimized": "",
|
|
"elastic_gpu_specifications": [],
|
|
"elastic_inference_accelerator": [],
|
|
"enclave_options": [],
|
|
"hibernation_options": [],
|
|
"iam_instance_profile": [],
|
|
"id": "lt-0789a3800bdaec215",
|
|
"image_id": "ami-0dcd72048e69236de",
|
|
"instance_initiated_shutdown_behavior": "",
|
|
"instance_market_options": [
|
|
{
|
|
"market_type": "spot",
|
|
"spot_options": []
|
|
}
|
|
],
|
|
"instance_requirements": [],
|
|
"instance_type": "t4g.medium",
|
|
"kernel_id": "",
|
|
"key_name": "dustin@rosalina",
|
|
"latest_version": 21,
|
|
"license_specification": [],
|
|
"maintenance_options": [],
|
|
"metadata_options": [],
|
|
"monitoring": [],
|
|
"name": "k8s-aarch64",
|
|
"name_prefix": "",
|
|
"network_interfaces": [],
|
|
"placement": [],
|
|
"private_dns_name_options": [
|
|
{
|
|
"enable_resource_name_dns_a_record": false,
|
|
"enable_resource_name_dns_aaaa_record": false,
|
|
"hostname_type": "resource-name"
|
|
}
|
|
],
|
|
"ram_disk_id": "",
|
|
"security_group_names": [
|
|
"k8s-node"
|
|
],
|
|
"tag_specifications": [],
|
|
"tags": {},
|
|
"tags_all": {},
|
|
"update_default_version": true,
|
|
"user_data": "I2Nsb3VkLWNvbmZpZwpib290Y21kOgotIFsgbG4sIC1zZiwgL3J1bi9zeXN0ZW1kL3Jlc29sdmUvc3R1Yi1yZXNvbHYuY29uZiwgL2V0Yy9yZXNvbHYuY29uZiBdCgpwYWNrYWdlczoKLSBjcmktbwotIGNyaS10b29scwotIGV0aHRvb2wKLSBpcHRhYmxlcy1uZnQKLSBpc2NzaS1pbml0aWF0b3ItdXRpbHMKLSBrdWJlcm5ldGVzLWt1YmVhZG0KLSBrdWJlcm5ldGVzLW5vZGUKLSBydW5jCi0gd2lyZWd1YXJkLXRvb2xzCgp3cml0ZV9maWxlczoKLSBwYXRoOiAvZXRjL2RuZi9kbmYuY29uZgogIGNvbnRlbnQ6IHwrCiAgICBpbnN0YWxsX3dlYWtfZGVwcz1GYWxzZQogIGFwcGVuZDogdHJ1ZQotIHBhdGg6IC9ldGMvbW9kdWxlcy1sb2FkLmQvazhzLmNvbmYKICBjb250ZW50OiB8KwogICAgYnJfbmV0ZmlsdGVyCi0gcGF0aDogL2V0Yy9zeXNjdGwuZC9rOHMuY29uZgogIGNvbnRlbnQ6IHwrCiAgICBuZXQuYnJp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RuZiwgcmVtb3ZlLCAteSwgenJhbS1nZW5lcmF0b3IgXQo=",
|
|
"vpc_security_group_ids": []
|
|
},
|
|
"sensitive_attributes": [],
|
|
"private": "bnVsbA==",
|
|
"dependencies": [
|
|
"aws_security_group.k8s-node",
|
|
"data.aws_ami.latest-fedora"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"mode": "managed",
|
|
"type": "aws_security_group",
|
|
"name": "k8s-node",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
|
|
"instances": [
|
|
{
|
|
"schema_version": 1,
|
|
"attributes": {
|
|
"arn": "arn:aws:ec2:us-east-2:566967686773:security-group/sg-05258c3ff1812e83b",
|
|
"description": "Kubernetes Node",
|
|
"egress": [
|
|
{
|
|
"cidr_blocks": [
|
|
"0.0.0.0/0"
|
|
],
|
|
"description": "",
|
|
"from_port": 19998,
|
|
"ipv6_cidr_blocks": [
|
|
"::/0"
|
|
],
|
|
"prefix_list_ids": [],
|
|
"protocol": "udp",
|
|
"security_groups": [],
|
|
"self": false,
|
|
"to_port": 19998
|
|
},
|
|
{
|
|
"cidr_blocks": [
|
|
"0.0.0.0/0"
|
|
],
|
|
"description": "",
|
|
"from_port": 443,
|
|
"ipv6_cidr_blocks": [
|
|
"::/0"
|
|
],
|
|
"prefix_list_ids": [],
|
|
"protocol": "tcp",
|
|
"security_groups": [],
|
|
"self": false,
|
|
"to_port": 443
|
|
},
|
|
{
|
|
"cidr_blocks": [
|
|
"0.0.0.0/0"
|
|
],
|
|
"description": "",
|
|
"from_port": 80,
|
|
"ipv6_cidr_blocks": [
|
|
"::/0"
|
|
],
|
|
"prefix_list_ids": [],
|
|
"protocol": "tcp",
|
|
"security_groups": [],
|
|
"self": false,
|
|
"to_port": 80
|
|
}
|
|
],
|
|
"id": "sg-05258c3ff1812e83b",
|
|
"ingress": [
|
|
{
|
|
"cidr_blocks": [
|
|
"108.75.85.159/32"
|
|
],
|
|
"description": "",
|
|
"from_port": 22,
|
|
"ipv6_cidr_blocks": [],
|
|
"prefix_list_ids": [],
|
|
"protocol": "tcp",
|
|
"security_groups": [],
|
|
"self": false,
|
|
"to_port": 22
|
|
}
|
|
],
|
|
"name": "k8s-node",
|
|
"name_prefix": "",
|
|
"owner_id": "566967686773",
|
|
"revoke_rules_on_delete": false,
|
|
"tags": {},
|
|
"tags_all": {},
|
|
"timeouts": null,
|
|
"vpc_id": "vpc-2483044d"
|
|
},
|
|
"sensitive_attributes": [],
|
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6OTAwMDAwMDAwMDAwfSwic2NoZW1hX3ZlcnNpb24iOiIxIn0="
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"mode": "managed",
|
|
"type": "aws_sns_topic",
|
|
"name": "ec2_events",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
|
|
"instances": [
|
|
{
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"application_failure_feedback_role_arn": "",
|
|
"application_success_feedback_role_arn": "",
|
|
"application_success_feedback_sample_rate": 0,
|
|
"arn": "arn:aws:sns:us-east-2:566967686773:ec2-events",
|
|
"content_based_deduplication": false,
|
|
"delivery_policy": "",
|
|
"display_name": "",
|
|
"fifo_topic": false,
|
|
"firehose_failure_feedback_role_arn": "",
|
|
"firehose_success_feedback_role_arn": "",
|
|
"firehose_success_feedback_sample_rate": 0,
|
|
"http_failure_feedback_role_arn": "",
|
|
"http_success_feedback_role_arn": "",
|
|
"http_success_feedback_sample_rate": 0,
|
|
"id": "arn:aws:sns:us-east-2:566967686773:ec2-events",
|
|
"kms_master_key_id": "",
|
|
"lambda_failure_feedback_role_arn": "",
|
|
"lambda_success_feedback_role_arn": "",
|
|
"lambda_success_feedback_sample_rate": 0,
|
|
"name": "ec2-events",
|
|
"name_prefix": "",
|
|
"owner": "566967686773",
|
|
"policy": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Sid\":\"__default_statement_ID\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"*\"},\"Action\":[\"SNS:Subscribe\",\"SNS:SetTopicAttributes\",\"SNS:RemovePermission\",\"SNS:Receive\",\"SNS:Publish\",\"SNS:ListSubscriptionsByTopic\",\"SNS:GetTopicAttributes\",\"SNS:DeleteTopic\",\"SNS:AddPermission\"],\"Resource\":\"arn:aws:sns:us-east-2:566967686773:ec2-events\",\"Condition\":{\"StringEquals\":{\"AWS:SourceOwner\":\"566967686773\"}}},{\"Sid\":\"AllowEventBridgePublish\",\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"events.amazonaws.com\"},\"Action\":\"sns:Publish\",\"Resource\":\"arn:aws:sns:us-east-2:566967686773:ec2-events\"}]}",
|
|
"sqs_failure_feedback_role_arn": "",
|
|
"sqs_success_feedback_role_arn": "",
|
|
"sqs_success_feedback_sample_rate": 0,
|
|
"tags": {},
|
|
"tags_all": {}
|
|
},
|
|
"sensitive_attributes": [],
|
|
"private": "bnVsbA=="
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"mode": "managed",
|
|
"type": "aws_sns_topic_policy",
|
|
"name": "ec2_events_policy",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
|
|
"instances": [
|
|
{
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"arn": "arn:aws:sns:us-east-2:566967686773:ec2-events",
|
|
"id": "arn:aws:sns:us-east-2:566967686773:ec2-events",
|
|
"owner": "566967686773",
|
|
"policy": "{\"Statement\":[{\"Action\":[\"SNS:Subscribe\",\"SNS:SetTopicAttributes\",\"SNS:RemovePermission\",\"SNS:Receive\",\"SNS:Publish\",\"SNS:ListSubscriptionsByTopic\",\"SNS:GetTopicAttributes\",\"SNS:DeleteTopic\",\"SNS:AddPermission\"],\"Condition\":{\"StringEquals\":{\"AWS:SourceOwner\":\"566967686773\"}},\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"*\"},\"Resource\":\"arn:aws:sns:us-east-2:566967686773:ec2-events\",\"Sid\":\"__default_statement_ID\"},{\"Action\":\"sns:Publish\",\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"events.amazonaws.com\"},\"Resource\":\"arn:aws:sns:us-east-2:566967686773:ec2-events\",\"Sid\":\"AllowEventBridgePublish\"}],\"Version\":\"2012-10-17\"}"
|
|
},
|
|
"sensitive_attributes": [],
|
|
"private": "bnVsbA==",
|
|
"dependencies": [
|
|
"aws_sns_topic.ec2_events",
|
|
"data.aws_caller_identity.current",
|
|
"data.aws_iam_policy_document.ec2_events_access_policy"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"mode": "managed",
|
|
"type": "aws_sns_topic_subscription",
|
|
"name": "dynk8s_provisoner",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
|
|
"instances": [
|
|
{
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"arn": "arn:aws:sns:us-east-2:566967686773:ec2-events:3be7a77b-4b89-4925-bad3-dab7223d07f3",
|
|
"confirmation_timeout_in_minutes": 1,
|
|
"confirmation_was_authenticated": false,
|
|
"delivery_policy": "",
|
|
"endpoint": "https://dynk8s-provisioner.pyrocufflink.net/sns/notify",
|
|
"endpoint_auto_confirms": false,
|
|
"filter_policy": "",
|
|
"id": "arn:aws:sns:us-east-2:566967686773:ec2-events:3be7a77b-4b89-4925-bad3-dab7223d07f3",
|
|
"owner_id": "566967686773",
|
|
"pending_confirmation": false,
|
|
"protocol": "https",
|
|
"raw_message_delivery": false,
|
|
"redrive_policy": "",
|
|
"subscription_role_arn": "",
|
|
"topic_arn": "arn:aws:sns:us-east-2:566967686773:ec2-events"
|
|
},
|
|
"sensitive_attributes": [],
|
|
"private": "bnVsbA==",
|
|
"dependencies": [
|
|
"aws_sns_topic.ec2_events"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"check_results": null
|
|
}
|