|
1 |
| -module "stackgen_2ea25a38-fd59-40bb-ac70-3e9cacd2f073" { |
2 |
| - source = "./modules/aws_athena" |
3 |
| - athena_engine_version = "AUTO" |
4 |
| - bucket_name = module.stackgen_e2c3eb90-18ac-4116-823a-027739cbbeb2.bucket_name |
5 |
| - bytes_scanned_cutoff_per_query = 10485760 |
6 |
| - database_force_destroy = false |
7 |
| - database_name = "custom-module-tesing" |
8 |
| - encrypt_query_results = true |
9 |
| - encryption_option = "SSE_KMS" |
10 |
| - expected_bucket_owner = null |
11 |
| - kms_key = null |
12 |
| - query = "query1" |
13 |
| - query_description = null |
14 |
| - query_name = "test-query1" |
15 |
| - query_results_encryption_option = "SSE_KMS" |
16 |
| - require_encryption_configuration = false |
17 |
| - result_output_location = null |
18 |
| - set_acl_configuration = false |
| 1 | +module "stackgen_031238de-adc8-51a3-91d9-c93de1930675" { |
| 2 | + source = "./modules/aws_subnet" |
| 3 | + availability_zone = "eu-west-3a" |
| 4 | + cidr_block = "10.0.1.0/24" |
| 5 | + map_public_ip_on_launch = true |
19 | 6 | tags = {
|
20 |
| - owner = "Gaurav" |
| 7 | + Environment = "dev" |
| 8 | + Name = "dev-public-subnet-0" |
21 | 9 | }
|
22 |
| - workgroup_description = null |
23 |
| - workgroup_force_destroy = false |
24 |
| - workgroup_name = "test-wg" |
25 |
| - workgroup_state = "ENABLED" |
26 |
| -} |
27 |
| - |
28 |
| -module "stackgen_e2c3eb90-18ac-4116-823a-027739cbbeb2" { |
29 |
| - source = "./modules/aws_s3" |
30 |
| - block_public_access = true |
31 |
| - bucket_name = "some-s3-bucket" |
32 |
| - bucket_policy = "" |
33 |
| - enable_versioning = true |
34 |
| - enable_website_configuration = false |
35 |
| - sse_algorithm = "aws:kms" |
| 10 | + vpc_id = module.stackgen_558d7ac4-ccc6-5b7b-b41a-fa5157526267.id |
| 11 | +} |
| 12 | + |
| 13 | +module "stackgen_14816102-e587-5b6f-bab3-dff0045f4512" { |
| 14 | + source = "./modules/aws_s3_bucket" |
| 15 | + bucket = "athena-query-results-bucket-5wmk7e4p" |
| 16 | + force_destroy = true |
| 17 | + object_lock_enabled = false |
| 18 | + tags = { |
| 19 | + Environment = "dev" |
| 20 | + Name = "dev-athena-results" |
| 21 | + } |
| 22 | +} |
| 23 | + |
| 24 | +module "stackgen_2c912ed8-8a45-51b0-b0c5-cc6812d0a890" { |
| 25 | + source = "./modules/aws_subnet" |
| 26 | + availability_zone = "eu-west-3b" |
| 27 | + cidr_block = "10.0.2.0/24" |
| 28 | + map_public_ip_on_launch = true |
| 29 | + tags = { |
| 30 | + Environment = "dev" |
| 31 | + Name = "dev-public-subnet-1" |
| 32 | + } |
| 33 | + vpc_id = module.stackgen_558d7ac4-ccc6-5b7b-b41a-fa5157526267.id |
| 34 | +} |
| 35 | + |
| 36 | +module "stackgen_34b80001-017a-5312-9144-65da25a068a9" { |
| 37 | + source = "./modules/aws_eks_cluster" |
| 38 | + access_config = [{ |
| 39 | + authentication_mode = "CONFIG_MAP" |
| 40 | + bootstrap_cluster_creator_admin_permissions = true |
| 41 | + }] |
| 42 | + bootstrap_self_managed_addons = true |
| 43 | + compute_config = [] |
| 44 | + eks_version = null |
| 45 | + enabled_cluster_log_types = [] |
| 46 | + encryption_config = [] |
| 47 | + kubernetes_network_config = [{ |
| 48 | + elastic_load_balancing = [{ |
| 49 | + enabled = false |
| 50 | + }] |
| 51 | + ip_family = "ipv4" |
| 52 | + service_ipv4_cidr = "172.20.0.0/16" |
| 53 | + service_ipv6_cidr = "" |
| 54 | + }] |
| 55 | + name = "eks-cluster" |
| 56 | + outpost_config = [] |
| 57 | + remote_network_config = [] |
| 58 | + role_arn = "arn:aws:iam::180217099948:role/eks-cluster-eks-role" |
| 59 | + storage_config = [] |
| 60 | + tags = { |
| 61 | + Environment = "dev" |
| 62 | + } |
| 63 | + timeouts = null |
| 64 | + upgrade_policy = [{ |
| 65 | + support_type = "EXTENDED" |
| 66 | + }] |
| 67 | + vpc_config = [{ |
| 68 | + cluster_security_group_id = "sg-043b2f9aa928fa8ba" |
| 69 | + endpoint_private_access = false |
| 70 | + endpoint_public_access = true |
| 71 | + public_access_cidrs = ["0.0.0.0/0"] |
| 72 | + security_group_ids = [] |
| 73 | + subnet_ids = ["subnet-01cb21854923cccea", "subnet-0e487cc6581e914bb"] |
| 74 | + vpc_id = "vpc-00d2820275a539204" |
| 75 | + }] |
| 76 | + zonal_shift_config = [] |
| 77 | +} |
| 78 | + |
| 79 | +module "stackgen_37476bf3-9a65-509a-b352-edea3c6656b2" { |
| 80 | + source = "./modules/data_aws_availability_zones" |
| 81 | + all_availability_zones = null |
| 82 | + exclude_names = null |
| 83 | + exclude_zone_ids = null |
| 84 | + state = null |
| 85 | +} |
| 86 | + |
| 87 | +module "stackgen_473ba727-cbcd-51d9-b1ab-49f583404fe7" { |
| 88 | + source = "./modules/random_string" |
| 89 | + keepers = null |
| 90 | + length = 8 |
| 91 | + lower = true |
| 92 | + min_lower = 0 |
| 93 | + min_numeric = 0 |
| 94 | + min_special = 0 |
| 95 | + min_upper = 0 |
| 96 | + numeric = true |
| 97 | + override_special = null |
| 98 | + special = false |
| 99 | + upper = false |
| 100 | +} |
| 101 | + |
| 102 | +module "stackgen_558d7ac4-ccc6-5b7b-b41a-fa5157526267" { |
| 103 | + source = "./modules/aws_vpc" |
| 104 | + cidr_block = "10.0.0.0/16" |
| 105 | + enable_dns_hostnames = true |
| 106 | + enable_dns_support = true |
| 107 | + enable_network_address_usage_metrics = false |
| 108 | + instance_tenancy = "default" |
36 | 109 | tags = {
|
37 |
| - owner = "Gaurav" |
| 110 | + Environment = "dev" |
| 111 | + Name = "dev-vpc" |
38 | 112 | }
|
39 |
| - website_error_document = "404.html" |
40 |
| - website_index_document = "index.html" |
| 113 | +} |
| 114 | + |
| 115 | +module "stackgen_63b6a8c7-d442-5a71-923d-61c60aa9c54d" { |
| 116 | + source = "./modules/data_aws_iam_policy_document" |
| 117 | + override_json = null |
| 118 | + override_policy_documents = null |
| 119 | + policy_id = null |
| 120 | + source_json = null |
| 121 | + source_policy_documents = null |
| 122 | + statement = [{ |
| 123 | + actions = ["sts:AssumeRole"] |
| 124 | + condition = [] |
| 125 | + effect = "Allow" |
| 126 | + not_actions = [] |
| 127 | + not_principals = [] |
| 128 | + not_resources = [] |
| 129 | + principals = [{ |
| 130 | + identifiers = ["eks.amazonaws.com"] |
| 131 | + type = "Service" |
| 132 | + }] |
| 133 | + resources = [] |
| 134 | + sid = "" |
| 135 | + }] |
| 136 | +} |
| 137 | + |
| 138 | +module "stackgen_7ef7e820-8361-52fd-a35f-aebce364af00" { |
| 139 | + source = "./modules/aws_iam_role" |
| 140 | + assume_role_policy = "{\"Statement\":[{\"Action\":\"sts:AssumeRole\",\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"eks.amazonaws.com\"}}],\"Version\":\"2012-10-17\"}" |
| 141 | + description = "" |
| 142 | + force_detach_policies = false |
| 143 | + inline_policy = [] |
| 144 | + max_session_duration = 3600 |
| 145 | + name = "eks-cluster-eks-role" |
| 146 | + path = "/" |
| 147 | + permissions_boundary = "" |
| 148 | + tags = { |
| 149 | + Environment = "dev" |
| 150 | + } |
| 151 | +} |
| 152 | + |
| 153 | +module "stackgen_e7de1e20-14c7-5811-ba15-9963dc266cb8" { |
| 154 | + source = "./modules/aws_s3_bucket_public_access_block" |
| 155 | + block_public_acls = true |
| 156 | + block_public_policy = true |
| 157 | + bucket = module.stackgen_14816102-e587-5b6f-bab3-dff0045f4512.bucket |
| 158 | + ignore_public_acls = true |
| 159 | + restrict_public_buckets = true |
41 | 160 | }
|
42 | 161 |
|
0 commit comments