-
Notifications
You must be signed in to change notification settings - Fork 6
Tagging Updates: Name #2322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tagging Updates: Name #2322
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. One question.
@@ -13,6 +13,7 @@ if [[ -z $DSS_DEPLOYMENT_STAGE ]]; then | |||
fi | |||
|
|||
export daemon_name=$1 | |||
export daemon_tag=$(echo $daemon_name | cut -d '-' -f2-) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you edit the daemon name instead of just using daemon_name
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
its to strip out dss from the name to avoid dss-dss-operations-dev
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me, besides minor change concerning bucket disambiguation.
infra/buckets/s3.tf
Outdated
@@ -3,7 +3,7 @@ data "aws_caller_identity" "current" {} | |||
locals { | |||
common_tags = "${map( | |||
"managedBy" , "terraform", | |||
"Name" , "${var.DSS_INFRA_TAG_PROJECT}-${var.DSS_DEPLOYMENT_STAGE}-${var.DSS_INFRA_TAG_SERVICE}", | |||
"Name" , "${var.DSS_INFRA_TAG_SERVICE}-cloudstorage", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we specify which cloud?, e.g. something like -s3-storage
and -gs-storage
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added tagging to google + differentiation of cloud
* master: Assert we don't checkout to the main bucket (avoiding a sync error). (#2350) Revert "Fix 500 on delete nonexistent bundle (fixes #1918)" Fix 500 on delete nonexistent bundle (fixes #1918) Simplify release scripting (#2347) More informative release status (#2345) Dedicated Trufflehog CI/CD stage (#2342) Check the correct DCP branch status (#2339) Fix daemon import test CI (#2338) Terraform v0.12.6 compatibility updates (#2337) Limit a user's v2 subscriptions to 100 per replica. (#2310) Limit user v1 subscriptions to 100 per replica. (#2309) fixed integration test errors (#2326) Delete Test Subscription (#2304) Tagging Updates: Name (#2322)
* master: Schema typo fix (s/it/is) Assert we don't checkout to the main bucket (avoiding a sync error). (#2350) Revert "Fix 500 on delete nonexistent bundle (fixes #1918)" Fix 500 on delete nonexistent bundle (fixes #1918) Simplify release scripting (#2347) More informative release status (#2345) Dedicated Trufflehog CI/CD stage (#2342) Check the correct DCP branch status (#2339) Fix daemon import test CI (#2338) Terraform v0.12.6 compatibility updates (#2337) Limit a user's v2 subscriptions to 100 per replica. (#2310) Limit user v1 subscriptions to 100 per replica. (#2309) fixed integration test errors (#2326) Delete Test Subscription (#2304) Tagging Updates: Name (#2322)
change resource tagging
Name
to reference sub-component of the DSSadds labels to gcp buckets