Skip to content

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

Merged
merged 8 commits into from
Aug 5, 2019
Merged

Tagging Updates: Name #2322

merged 8 commits into from
Aug 5, 2019

Conversation

amarjandu
Copy link
Contributor

@amarjandu amarjandu commented Aug 5, 2019

change resource tagging Name to reference sub-component of the DSS
adds labels to gcp buckets

@amarjandu amarjandu requested review from DailyDreaming, xbrianh and jeffrey856 and removed request for DailyDreaming August 5, 2019 15:37
@amarjandu amarjandu changed the title Tagging Updates: Name [WIP] Tagging Updates: Name Aug 5, 2019
Copy link
Contributor

@DailyDreaming DailyDreaming left a 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-)
Copy link
Contributor

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?

Copy link
Contributor Author

@amarjandu amarjandu Aug 5, 2019

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

@amarjandu amarjandu self-assigned this Aug 5, 2019
Copy link
Member

@xbrianh xbrianh left a 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.

@@ -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",
Copy link
Member

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

Copy link
Contributor Author

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

@amarjandu amarjandu merged commit 04c0221 into master Aug 5, 2019
@amarjandu amarjandu deleted the amar-tagging-Name branch August 12, 2019 18:35
chmreid added a commit that referenced this pull request Aug 14, 2019
* master:
  fixed integration test errors (#2326)
  Delete Test Subscription (#2304)
  Tagging Updates: Name (#2322)
chmreid added a commit that referenced this pull request Aug 15, 2019
* 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)
chmreid added a commit that referenced this pull request Aug 15, 2019
* 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)
chmreid pushed a commit that referenced this pull request Sep 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants