Skip to content
Snippets Groups Projects
Commit f591667d authored by Eesaan Atluri's avatar Eesaan Atluri
Browse files

Merge branch 'fix-duplicate-vol-snapshot-name-error' into 'master'

Workaround the issue of having duplicate names for snapshot failing the TF deploy pipelines

See merge request rc/terraform-openstack!36
parents c668e1b0 e61b2d42
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@ prep-deploy:
openstack volume create --snapshot xdmod-dev-volume-snap --size 20 $TF_VAR_data_volume
elif [ "$TARGET_ENV" = "staging" ]; then
TF_VAR_data_volume="xdmod-staging-volume-$BUILD_DATE"
openstack volume create --snapshot xdmod-staging-volume-snap --size 150 $TF_VAR_data_volume
openstack volume create --snapshot xdmod-staging-vol-snapshot --size 150 $TF_VAR_data_volume
elif [ "$TARGET_ENV" = "production" ]; then
echo $TARGET_ENV
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment