Merge pull request #225 from navi-infra/INFRA-3592
INFRA-3592 | Ankit Bhardwaj | fix send deployment status when deletefrom aws is true
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
app_name: infra-provisioner-v2
|
||||
version: v2.49.0
|
||||
version: v2.49.1
|
||||
@@ -104,9 +104,10 @@ func setResourceDeploymentStatus(resourceName string, deploymentStatus bool, man
|
||||
case RESOURCE_DYNAMODB:
|
||||
for _, table := range manifest.ExtraResources.Dynamodb.Tables {
|
||||
if table.DeleteFromAWS {
|
||||
deploymentStatus = false
|
||||
appendExtraResourceStatus(table.TableName, false, &extraResourcesDeploymentStatus.Dynamodb)
|
||||
} else {
|
||||
appendExtraResourceStatus(table.TableName, deploymentStatus, &extraResourcesDeploymentStatus.Dynamodb)
|
||||
}
|
||||
appendExtraResourceStatus(table.TableName, deploymentStatus, &extraResourcesDeploymentStatus.Dynamodb)
|
||||
}
|
||||
default:
|
||||
log.Panicf("\nErr: %v", "Invalid Resource Name "+resourceName)
|
||||
|
||||
Reference in New Issue
Block a user