Skip to content

Commit f3ad4a8

Browse files
committed
POC-620: remove hosted zone creation
1 parent 275837e commit f3ad4a8

File tree

4 files changed

+0
-38
lines changed

4 files changed

+0
-38
lines changed

aws/PAS-network-environment-NAT.json

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,6 @@
1818
]
1919
}
2020
},
21-
"PASHostedZone": {
22-
"Type" : "AWS::Route53::HostedZone",
23-
"Properties" : {
24-
"Name" : "pas.local",
25-
"VPCs" : [
26-
{
27-
"VPCId": {
28-
"Ref": "PASVPC"
29-
},
30-
"VPCRegion": {
31-
"Ref": "AWS::Region"
32-
}
33-
}]
34-
}
35-
},
3621
"VaultMainSubnet": {
3722
"Type": "AWS::EC2::Subnet",
3823
"Properties": {

aws/PAS-network-environment-PrivateLink.json

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,6 @@
1818
]
1919
}
2020
},
21-
"PASHostedZone": {
22-
"Type" : "AWS::Route53::HostedZone",
23-
"Properties" : {
24-
"Name" : "pas.local",
25-
"VPCs" : [
26-
{
27-
"VPCId": {
28-
"Ref": "PASVPC"
29-
},
30-
"VPCRegion": {
31-
"Ref": "AWS::Region"
32-
}
33-
}]
34-
}
35-
},
3621
"VaultMainSubnet": {
3722
"Type": "AWS::EC2::Subnet",
3823
"Properties": {

tests/aws/test_PAS-network-environment-NAT.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,6 @@ def test_PASNetworkEnvironmentNat_VPC(self):
138138
expected_VPC= {'PASVPC'}
139139
assert set(self.resources['AWS::EC2::VPC']) == expected_VPC
140140

141-
def test_PASNetworkEnvironmentNat_HostedZone(self):
142-
expected_HostedZone= {'PASHostedZone'}
143-
assert set(self.resources['AWS::Route53::HostedZone']) == expected_HostedZone
144-
145141
def test_CleanupEnvironment(self, region, branch, commitid, templateurl):
146142
cf_client = boto3.client('cloudformation', region_name=region)
147143
templatename = 'PAS-network-environment-NAT'

tests/aws/test_PAS-network-environment-PrivateLink.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,6 @@ def test_PASNetworkEnvironmentPrivateLink_VPC(self):
138138
expected_VPC= {'PASVPC'}
139139
assert set(self.resources['AWS::EC2::VPC']) == expected_VPC
140140

141-
def test_PASNetworkEnvironmentNat_HostedZone(self):
142-
expected_HostedZone= {'PASHostedZone'}
143-
assert set(self.resources['AWS::Route53::HostedZone']) == expected_HostedZone
144-
145141
def test_CleanupEnvironment(self, region, branch, commitid, templateurl):
146142
cf_client = boto3.client('cloudformation', region_name=region)
147143
templatename = 'PAS-network-environment-PrivateLink'

0 commit comments

Comments
 (0)