Skip to content

Commit ae6ae96

Browse files
committed
update dns
1 parent 5145672 commit ae6ae96

File tree

3 files changed

+86
-5
lines changed

3 files changed

+86
-5
lines changed

dns.tf

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ locals {
1010
wg_records = {
1111
"10.255.255.1" : "dmz",
1212
"10.255.255.2" : "hub",
13+
"10.255.255.3" : "k8s",
1314
"10.255.255.4" : "metrics",
1415
"10.255.255.5" : "codepad",
1516
"10.255.255.6" : "goat",

terraform.tfstate

+33-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"version": 4,
33
"terraform_version": "1.5.7",
4-
"serial": 12911,
4+
"serial": 12913,
55
"lineage": "6a6e3f47-d4c8-46eb-a34e-885062b7c62a",
66
"outputs": {
77
"domains": {
@@ -3988,6 +3988,37 @@
39883988
"module.zones.aws_route53_zone.this"
39893989
]
39903990
},
3991+
{
3992+
"index_key": "10.255.255.3",
3993+
"schema_version": 2,
3994+
"attributes": {
3995+
"alias": [],
3996+
"allow_overwrite": null,
3997+
"cidr_routing_policy": [],
3998+
"failover_routing_policy": [],
3999+
"fqdn": "k8s.wg0.a-rwx.org",
4000+
"geolocation_routing_policy": [],
4001+
"geoproximity_routing_policy": [],
4002+
"health_check_id": "",
4003+
"id": "Z06324102J3IVSSCKNZ4A_k8s.wg0.a-rwx.org_A",
4004+
"latency_routing_policy": [],
4005+
"multivalue_answer_routing_policy": false,
4006+
"name": "k8s.wg0.a-rwx.org",
4007+
"records": [
4008+
"10.255.255.3"
4009+
],
4010+
"set_identifier": "",
4011+
"ttl": 60,
4012+
"type": "A",
4013+
"weighted_routing_policy": [],
4014+
"zone_id": "Z06324102J3IVSSCKNZ4A"
4015+
},
4016+
"sensitive_attributes": [],
4017+
"private": "eyJzY2hlbWFfdmVyc2lvbiI6IjIifQ==",
4018+
"dependencies": [
4019+
"module.zones.aws_route53_zone.this"
4020+
]
4021+
},
39914022
{
39924023
"index_key": "10.255.255.4",
39934024
"schema_version": 2,
@@ -40143,7 +40174,7 @@
4014340174
"name": "puppet-k8s",
4014440175
"path": "/",
4014540176
"permissions_boundary": "",
40146-
"tags": null,
40177+
"tags": {},
4014740178
"tags_all": {},
4014840179
"unique_id": "AIDA3D3X4QXYW2K6ROJOP"
4014940180
},

terraform.tfstate.backup

+52-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"version": 4,
33
"terraform_version": "1.5.7",
4-
"serial": 12907,
4+
"serial": 12911,
55
"lineage": "6a6e3f47-d4c8-46eb-a34e-885062b7c62a",
66
"outputs": {
77
"domains": {
@@ -9147,6 +9147,7 @@
91479147
"sensitive_attributes": [],
91489148
"private": "eyJzY2hlbWFfdmVyc2lvbiI6IjIifQ==",
91499149
"dependencies": [
9150+
"aws_route53_delegation_set.main",
91509151
"data.terraform_remote_state.linode",
91519152
"module.zones.aws_route53_zone.this"
91529153
]
@@ -13175,7 +13176,7 @@
1317513176
],
1317613177
"primary_name_server": "ns-1505.awsdns-60.org",
1317713178
"private_zone": false,
13178-
"resource_record_set_count": 194,
13179+
"resource_record_set_count": 195,
1317913180
"tags": {},
1318013181
"vpc_id": null,
1318113182
"zone_id": "Z06324102J3IVSSCKNZ4A"
@@ -13435,7 +13436,7 @@
1343513436
],
1343613437
"primary_name_server": "ns-1505.awsdns-60.org",
1343713438
"private_zone": false,
13438-
"resource_record_set_count": 194,
13439+
"resource_record_set_count": 195,
1343913440
"tags": {},
1344013441
"vpc_id": null,
1344113442
"zone_id": "Z06324102J3IVSSCKNZ4A"
@@ -40132,6 +40133,23 @@
4013240133
"sensitive_attributes": [],
4013340134
"private": "bnVsbA=="
4013440135
},
40136+
{
40137+
"index_key": "puppet-k8s",
40138+
"schema_version": 0,
40139+
"attributes": {
40140+
"arn": "arn:aws:iam::764218738161:user/puppet-k8s",
40141+
"force_destroy": false,
40142+
"id": "puppet-k8s",
40143+
"name": "puppet-k8s",
40144+
"path": "/",
40145+
"permissions_boundary": "",
40146+
"tags": null,
40147+
"tags_all": {},
40148+
"unique_id": "AIDA3D3X4QXYW2K6ROJOP"
40149+
},
40150+
"sensitive_attributes": [],
40151+
"private": "bnVsbA=="
40152+
},
4013540153
{
4013640154
"index_key": "puppet-kiosk-office",
4013740155
"schema_version": 0,
@@ -40447,6 +40465,23 @@
4044740465
"module.puppet-vault.data.aws_iam_policy_document.path_permissions"
4044840466
]
4044940467
},
40468+
{
40469+
"index_key": "puppet-k8s",
40470+
"schema_version": 0,
40471+
"attributes": {
40472+
"id": "puppet-k8s:s3-path-permissions",
40473+
"name": "s3-path-permissions",
40474+
"name_prefix": "",
40475+
"policy": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Action\":[\"s3:PutObject\",\"s3:GetObject\",\"s3:DeleteObject\"],\"Effect\":\"Allow\",\"Resource\":[\"arn:aws:s3:::akerl-puppet/public/${aws:username}/*\",\"arn:aws:s3:::akerl-puppet/private/${aws:username}/*\"]},{\"Action\":\"s3:GetObject\",\"Effect\":\"Allow\",\"Resource\":\"arn:aws:s3:::akerl-puppet/public/*\"},{\"Action\":\"s3:ListBucket\",\"Condition\":{\"StringLike\":{\"s3:prefix\":[\"public/*\",\"private/${aws:username}/*\"]}},\"Effect\":\"Allow\",\"Resource\":\"arn:aws:s3:::akerl-puppet\"}]}",
40476+
"user": "puppet-k8s"
40477+
},
40478+
"sensitive_attributes": [],
40479+
"private": "bnVsbA==",
40480+
"dependencies": [
40481+
"module.puppet-vault.aws_iam_user.servers",
40482+
"module.puppet-vault.data.aws_iam_policy_document.path_permissions"
40483+
]
40484+
},
4045040485
{
4045140486
"index_key": "puppet-kiosk-office",
4045240487
"schema_version": 0,
@@ -40923,6 +40958,20 @@
4092340958
"module.puppet-vault.aws_iam_user.servers"
4092440959
]
4092540960
},
40961+
{
40962+
"index_key": "puppet-k8s",
40963+
"schema_version": 0,
40964+
"attributes": {
40965+
"file": "creds/puppet-k8s",
40966+
"id": "AKIA3D3X4QXY3YDROUMB",
40967+
"user": "puppet-k8s"
40968+
},
40969+
"sensitive_attributes": [],
40970+
"private": "bnVsbA==",
40971+
"dependencies": [
40972+
"module.puppet-vault.aws_iam_user.servers"
40973+
]
40974+
},
4092640975
{
4092740976
"index_key": "puppet-kiosk-office",
4092840977
"schema_version": 0,

0 commit comments

Comments
 (0)