Skip to content

Commit

Permalink
SHPVWA-16535: Remove SetLocalService for PVWA (#416)
Browse files Browse the repository at this point in the history
* remove SetLocalService

* rename logs

* revert changes for cpm
  • Loading branch information
pelegor authored Nov 18, 2024
1 parent 4a0e426 commit 153ff84
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 27 deletions.
19 changes: 6 additions & 13 deletions aws/Full-PAS-Deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ Resources:
LogGroupName: !Sub '${LogGroup}'
LogStreamName: CPMMachine/UserDataLog
DeletionPolicy: Retain
CPMConfigurationsLogStream:
CPMConfigurationLogStream:
Type: AWS::Logs::LogStream
Properties:
LogGroupName: !Sub '${LogGroup}'
LogStreamName: CPMMachine/CPMConfigurationsLog
LogStreamName: CPMMachine/CPMConfigurationLog
DeletionPolicy: Retain
CPMRegistrationLogStream:
Type: AWS::Logs::LogStream
Expand Down Expand Up @@ -55,24 +55,18 @@ Resources:
LogGroupName: !Sub '${LogGroup}'
LogStreamName: PVWAMachine/UserDataLog
DeletionPolicy: Retain
PVWAConfigurationsLogStream:
PVWAConfigurationLogStream:
Type: AWS::Logs::LogStream
Properties:
LogGroupName: !Sub '${LogGroup}'
LogStreamName: PVWAMachine/PVWAConfigurationsLog
LogStreamName: PVWAMachine/PVWAConfigurationLog
DeletionPolicy: Retain
PVWARegistrationLogStream:
Type: AWS::Logs::LogStream
Properties:
LogGroupName: !Sub '${LogGroup}'
LogStreamName: PVWAMachine/PVWARegistrationLog
DeletionPolicy: Retain
PVWASetLocalServiceLogStream:
Type: AWS::Logs::LogStream
Properties:
LogGroupName: !Sub '${LogGroup}'
LogStreamName: PVWAMachine/PVWASetLocalServiceLog
DeletionPolicy: Retain
VaultUserDataLogStream:
Type: AWS::Logs::LogStream
Properties:
Expand Down Expand Up @@ -909,9 +903,8 @@ Resources:
"Region" = "${AWS::Region}"
"LogGroup" = "${LogGroup}"
"UserDataLogStream" = "${PVWAUserDataLogStream}"
"PVWAConfigurationsLogStream" = "${PVWAConfigurationsLogStream}"
"PVWAConfigurationLogStream" = "${PVWAConfigurationLogStream}"
"PVWARegistrationLogStream" = "${PVWARegistrationLogStream}"
"PVWASetLocalServiceLogStream" = "${PVWASetLocalServiceLogStream}"
"VaultAdminUser" = "Administrator"
"SSMAdminPassParameterID" = "${StoreAdminPassword.SsmId}"
"VaultPrivateIP" = "${VaultIpAddress}"
Expand Down Expand Up @@ -951,7 +944,7 @@ Resources:
"Region" = "${AWS::Region}"
"LogGroup" = "${LogGroup}"
"UserDataLogStream" = "${CPMUserDataLogStream}"
"CPMConfigurationsLogStream" = "${CPMConfigurationsLogStream}"
"CPMConfigurationLogStream" = "${CPMConfigurationLogStream}"
"CPMRegistrationLogStream" = "${CPMRegistrationLogStream}"
"CPMSetLocalServiceLogStream" = "${CPMSetLocalServiceLogStream}"
"VaultAdminUser" = "Administrator"
Expand Down
20 changes: 6 additions & 14 deletions aws/PAS-Component-Single-Deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ Resources:
LogGroupName: !Sub '${LogGroup}'
LogStreamName: CPMMachine/UserDataLog
DeletionPolicy: Retain
CPMConfigurationsLogStream:
CPMConfigurationLogStream:
Type: AWS::Logs::LogStream
Condition: CreateCPMCondition
Properties:
LogGroupName: !Sub '${LogGroup}'
LogStreamName: CPMMachine/CPMConfigurations
LogStreamName: CPMMachine/CPMConfiguration
DeletionPolicy: Retain
CPMRegistrationLogStream:
Type: AWS::Logs::LogStream
Expand Down Expand Up @@ -63,12 +63,12 @@ Resources:
LogGroupName: !Sub '${LogGroup}'
LogStreamName: PVWAMachine/UserDataLog
DeletionPolicy: Retain
PVWAConfigurationsLogStream:
PVWAConfigurationLogStream:
Type: AWS::Logs::LogStream
Condition: CreatePVWACondition
Properties:
LogGroupName: !Sub '${LogGroup}'
LogStreamName: PVWAMachine/PVWAConfigurationsLog
LogStreamName: PVWAMachine/PVWAConfigurationLog
DeletionPolicy: Retain
PVWARegistrationLogStream:
Type: AWS::Logs::LogStream
Expand All @@ -77,13 +77,6 @@ Resources:
LogGroupName: !Sub '${LogGroup}'
LogStreamName: PVWAMachine/PVWARegistrationLog
DeletionPolicy: Retain
PVWASetLocalServiceLogStream:
Type: AWS::Logs::LogStream
Condition: CreatePVWACondition
Properties:
LogGroupName: !Sub '${LogGroup}'
LogStreamName: PVWAMachine/PVWASetLocalServiceLog
DeletionPolicy: Retain
PVWAAmi:
Type: Custom::FindAMI
Condition: PVWACustomImageEmpty
Expand Down Expand Up @@ -390,9 +383,8 @@ Resources:
"Region" = "${AWS::Region}"
"LogGroup" = "${LogGroup}"
"UserDataLogStream" = "${PVWAUserDataLogStream}"
"PVWAConfigurationsLogStream" = "${PVWAConfigurationsLogStream}"
"PVWAConfigurationLogStream" = "${PVWAConfigurationLogStream}"
"PVWARegistrationLogStream" = "${PVWARegistrationLogStream}"
"PVWASetLocalServiceLogStream" = "${PVWASetLocalServiceLogStream}"
"VaultAdminUser" = "${VaultAdminUser}"
"SSMAdminPassParameterID" = "${StoreAdminPassword.SsmId}"
"VaultPrivateIP" = "${VaultIpAddress}"
Expand Down Expand Up @@ -434,7 +426,7 @@ Resources:
"Region" = "${AWS::Region}"
"LogGroup" = "${LogGroup}"
"UserDataLogStream" = "${CPMUserDataLogStream}"
"CPMConfigurationsLogStream" = "${CPMConfigurationsLogStream}"
"CPMConfigurationLogStream" = "${CPMConfigurationLogStream}"
"CPMRegistrationLogStream" = "${CPMRegistrationLogStream}"
"CPMSetLocalServiceLogStream" = "${CPMSetLocalServiceLogStream}"
"VaultAdminUser" = "${VaultAdminUser}"
Expand Down

0 comments on commit 153ff84

Please sign in to comment.