Skip to content

Commit

Permalink
POC-620: remove hosted zone creation
Browse files Browse the repository at this point in the history
  • Loading branch information
pelegor committed May 27, 2024
1 parent efef32a commit 7bf8e02
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 38 deletions.
15 changes: 0 additions & 15 deletions aws/PAS-network-environment-NAT.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,6 @@
]
}
},
"PASHostedZone": {
"Type" : "AWS::Route53::HostedZone",
"Properties" : {
"Name" : "pas.local",
"VPCs" : [
{
"VPCId": {
"Ref": "PASVPC"
},
"VPCRegion": {
"Ref": "AWS::Region"
}
}]
}
},
"VaultMainSubnet": {
"Type": "AWS::EC2::Subnet",
"Properties": {
Expand Down
15 changes: 0 additions & 15 deletions aws/PAS-network-environment-PrivateLink.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,6 @@
]
}
},
"PASHostedZone": {
"Type" : "AWS::Route53::HostedZone",
"Properties" : {
"Name" : "pas.local",
"VPCs" : [
{
"VPCId": {
"Ref": "PASVPC"
},
"VPCRegion": {
"Ref": "AWS::Region"
}
}]
}
},
"VaultMainSubnet": {
"Type": "AWS::EC2::Subnet",
"Properties": {
Expand Down
4 changes: 0 additions & 4 deletions tests/aws/test_PAS-network-environment-NAT.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,6 @@ def test_PASNetworkEnvironmentNat_VPC(self):
expected_VPC= {'PASVPC'}
assert set(self.resources['AWS::EC2::VPC']) == expected_VPC

def test_PASNetworkEnvironmentNat_HostedZone(self):
expected_HostedZone= {'PASHostedZone'}
assert set(self.resources['AWS::Route53::HostedZone']) == expected_HostedZone

def test_CleanupEnvironment(self, region, branch, commitid, templateurl):
cf_client = boto3.client('cloudformation', region_name=region)
templatename = 'PAS-network-environment-NAT'
Expand Down
4 changes: 0 additions & 4 deletions tests/aws/test_PAS-network-environment-PrivateLink.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,6 @@ def test_PASNetworkEnvironmentPrivateLink_VPC(self):
expected_VPC= {'PASVPC'}
assert set(self.resources['AWS::EC2::VPC']) == expected_VPC

def test_PASNetworkEnvironmentNat_HostedZone(self):
expected_HostedZone= {'PASHostedZone'}
assert set(self.resources['AWS::Route53::HostedZone']) == expected_HostedZone

def test_CleanupEnvironment(self, region, branch, commitid, templateurl):
cf_client = boto3.client('cloudformation', region_name=region)
templatename = 'PAS-network-environment-PrivateLink'
Expand Down

0 comments on commit 7bf8e02

Please sign in to comment.