From 90e6bad6e3c2b625e81c7feee12407bc77dc8667 Mon Sep 17 00:00:00 2001 From: ggalfrin Date: Thu, 23 May 2024 18:28:38 +0300 Subject: [PATCH] remove DNS --- aws/DRVault-Single-Deployment.yaml | 19 ------- aws/PAS-AIO-DR-Deployment.yaml | 45 --------------- aws/PAS-Component-Single-Deployment.yaml | 71 ------------------------ aws/Vault-Single-Deployment.yaml | 19 ------- 4 files changed, 154 deletions(-) diff --git a/aws/DRVault-Single-Deployment.yaml b/aws/DRVault-Single-Deployment.yaml index f34bbc2..ac5bdac 100644 --- a/aws/DRVault-Single-Deployment.yaml +++ b/aws/DRVault-Single-Deployment.yaml @@ -501,19 +501,6 @@ Resources: ResourceSignal: Timeout: PT20M DeletionPolicy: Retain - VaultDRDNSRecord: - Type: AWS::Route53::RecordSet - Properties: - HostedZoneId: !Ref PASHostedZoneId - Name: !Join - - '' - - - !Ref VaultHostname - - '.pas.local' - ResourceRecords: - - !GetAtt VaultDRMachine.PrivateIp - TTL: '900' - Type: A - DependsOn: VaultDRMachine Parameters: EULA: Type: String @@ -543,9 +530,6 @@ Parameters: Type: AWS::EC2::KeyPair::KeyName Description: Select an existing Key Pair from your AWS account. ConstraintDescription: Can contain only ASCII characters. - PASHostedZoneId: - Type: AWS::Route53::HostedZone::Id - Description: Provide the ID for the Hosted Zone created during the network deployment template. VaultPrivateIP: Type: String Description: Enter the Primary Vault Private IP. @@ -617,7 +601,6 @@ Metadata: - VaultCustomAmi - CyberarkAccountId - KeyName - - PASHostedZoneId - Label: default: Primary Vault and DR information Parameters: @@ -643,8 +626,6 @@ Metadata: default: CyberArk Account ID KeyName: default: Key Pair - PASHostedZoneId: - default: PAS Hosted Zone Id VaultPrivateIP: default: Primary Vault Private IP VaultDRPassword: diff --git a/aws/PAS-AIO-DR-Deployment.yaml b/aws/PAS-AIO-DR-Deployment.yaml index 7c4087d..f332bb2 100644 --- a/aws/PAS-AIO-DR-Deployment.yaml +++ b/aws/PAS-AIO-DR-Deployment.yaml @@ -1048,45 +1048,6 @@ Resources: ResourceSignal: Timeout: PT30M DeletionPolicy: Retain - VaultDNSRecord: - Type: AWS::Route53::RecordSet - Properties: - HostedZoneId: !Ref PASHostedZoneId - Name: !Join - - '' - - - !Ref VaultHostname - - '.pas.local' - ResourceRecords: - - !GetAtt VaultMachine.PrivateIp - TTL: '900' - Type: A - DependsOn: VaultMachine - VaultDRDNSRecord: - Type: AWS::Route53::RecordSet - Properties: - HostedZoneId: !Ref PASHostedZoneId - Name: !Join - - '' - - - !Ref VaultHostname - - '-dr.pas.local' - ResourceRecords: - - !GetAtt VaultDRMachine.PrivateIp - TTL: '900' - Type: A - DependsOn: VaultDRMachine - ComponentsDNSRecord: - Type: AWS::Route53::RecordSet - Properties: - HostedZoneId: !Ref PASHostedZoneId - Name: !Join - - '' - - - !Ref ComponentsHostname - - '.pas.local' - ResourceRecords: - - !GetAtt ComponentsMachine.PrivateIp - TTL: '900' - Type: A - DependsOn: ComponentsMachine Parameters: EULA: Type: String @@ -1116,9 +1077,6 @@ Parameters: Type: AWS::EC2::KeyPair::KeyName Description: Select an existing Key Pair from your AWS account. ConstraintDescription: Can contain only ASCII characters. - PASHostedZoneId: - Type: AWS::Route53::HostedZone::Id - Description: Provide the ID for the Hosted Zone created during the network deployment template. VaultFilesBucket: Type: String Description: Enter the name of the S3 bucket containing the license and recovery public key. @@ -1298,7 +1256,6 @@ Metadata: - VaultCustomAmi - CyberarkAccountId - KeyName - - PASHostedZoneId - VaultFilesBucket - LicenseFile - RecoveryPublicKey @@ -1337,8 +1294,6 @@ Metadata: default: CyberArk Account ID KeyName: default: Key Pair - PASHostedZoneId: - default: PAS Hosted Zone Id VaultFilesBucket: default: S3 Bucket LicenseFile: diff --git a/aws/PAS-Component-Single-Deployment.yaml b/aws/PAS-Component-Single-Deployment.yaml index 4ad0523..68c4d7d 100644 --- a/aws/PAS-Component-Single-Deployment.yaml +++ b/aws/PAS-Component-Single-Deployment.yaml @@ -972,71 +972,6 @@ Resources: ResourceSignal: Timeout: PT10M DeletionPolicy: Retain - PVWADNSRecord: - Type: AWS::Route53::RecordSet - Properties: - HostedZoneId: !Ref PASHostedZoneId - Name: !Join - - '' - - - !Ref ComponentHostname - - '.pas.local' - ResourceRecords: - - !GetAtt PVWAMachine.PrivateIp - TTL: '900' - Type: A - Condition: CreatePVWACondition - CPMDNSRecord: - Type: AWS::Route53::RecordSet - Properties: - HostedZoneId: !Ref PASHostedZoneId - Name: !Join - - '' - - - !Ref ComponentHostname - - '.pas.local' - ResourceRecords: - - !GetAtt CPMMachine.PrivateIp - TTL: '900' - Type: A - Condition: CreateCPMCondition - PSMDNSRecord: - Type: AWS::Route53::RecordSet - Properties: - HostedZoneId: !Ref PASHostedZoneId - Name: !Join - - '' - - - !Ref ComponentHostname - - '.pas.local' - ResourceRecords: - - !GetAtt PSMMachine.PrivateIp - TTL: '900' - Type: A - Condition: CreatePSMCondition - PSMPDNSRecord: - Type: AWS::Route53::RecordSet - Properties: - HostedZoneId: !Ref PASHostedZoneId - Name: !Join - - '' - - - !Ref ComponentHostname - - '.pas.local' - ResourceRecords: - - !GetAtt PSMPMachine.PrivateIp - TTL: '900' - Type: A - Condition: CreatePSMPCondition - PTADNSRecord: - Type: AWS::Route53::RecordSet - Properties: - HostedZoneId: !Ref PASHostedZoneId - Name: !Join - - '' - - - !Ref ComponentHostname - - '.pas.local' - ResourceRecords: - - !GetAtt PTAMachine.PrivateIp - TTL: '900' - Type: A - Condition: CreatePTACondition Parameters: EULA: Type: String @@ -1061,9 +996,6 @@ Parameters: Type: AWS::EC2::KeyPair::KeyName Description: Select an existing Key Pair from your AWS account. ConstraintDescription: Can contain only ASCII characters. - PASHostedZoneId: - Type: AWS::Route53::HostedZone::Id - Description: Provide the ID for the Hosted Zone created during the network deployment template. VaultPrivateIP: Type: String Description: Enter the IP of the Primary Vault instance. @@ -1146,7 +1078,6 @@ Metadata: - WinVersion - CyberarkAccountId - KeyName - - PASHostedZoneId - Label: default: Primary Vault and DR information Parameters: @@ -1174,8 +1105,6 @@ Metadata: default: CyberArk Account ID KeyName: default: Key Pair - PASHostedZoneId: - default: PAS Hosted Zone Id VaultPrivateIP: default: Primary Vault Private IP DRPrivateIP: diff --git a/aws/Vault-Single-Deployment.yaml b/aws/Vault-Single-Deployment.yaml index 6cda510..9b0d29d 100644 --- a/aws/Vault-Single-Deployment.yaml +++ b/aws/Vault-Single-Deployment.yaml @@ -581,19 +581,6 @@ Resources: ResourceSignal: Timeout: PT20M DeletionPolicy: Retain - VaultDNSRecord: - Type: AWS::Route53::RecordSet - Properties: - HostedZoneId: !Ref PASHostedZoneId - Name: !Join - - '' - - - !Ref VaultHostname - - '.pas.local' - ResourceRecords: - - !GetAtt VaultMachine.PrivateIp - TTL: '900' - Type: A - DependsOn: VaultMachine Parameters: EULA: Type: String @@ -623,9 +610,6 @@ Parameters: Type: AWS::EC2::KeyPair::KeyName Description: Select an existing Key Pair from your AWS account. ConstraintDescription: Can contain only ASCII characters. - PASHostedZoneId: - Type: AWS::Route53::HostedZone::Id - Description: Provide the ID for the Hosted Zone created during the network deployment template. VaultFilesBucket: Type: String Description: Enter the name of the S3 bucket containing the license and recovery public key. @@ -757,7 +741,6 @@ Metadata: - VaultCustomAmi - CyberarkAccountId - KeyName - - PASHostedZoneId - VaultFilesBucket - LicenseFile - RecoveryPublicKey @@ -791,8 +774,6 @@ Metadata: default: CyberArk Account ID KeyName: default: Key Pair - PASHostedZoneId: - default: PAS Hosted Zone Id VaultFilesBucket: default: S3 Bucket LicenseFile: