Skip to content
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

[cost] Tagging Base workspace #1970

Conversation

pedro-pelegrin-nttdata
Copy link
Contributor

@pedro-pelegrin-nttdata pedro-pelegrin-nttdata commented Jun 3, 2022

Fixes #1896

What is being addressed

Tagging Base workspace with tre_id and tre_workspace_id

How is this addressed

  • Added locals.tf file with tre_core_tags
  • Added tags property per azure resource

@ghost
Copy link

ghost commented Jun 3, 2022

CLA assistant check
All CLA requirements met.

@github-actions github-actions bot added the external PR from an external contributor label Jun 3, 2022
Copy link
Contributor

@joalmeid joalmeid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At base workspace level the tags tre_id and tre_workspace_id = var.tre_resource_id are now applied including the wks rg

@joalmeid joalmeid linked an issue Jun 3, 2022 that may be closed by this pull request
2 tasks
@joalmeid joalmeid requested a review from guybartal June 3, 2022 13:38
templates/workspaces/base/porter.yaml Outdated Show resolved Hide resolved
templates/workspaces/base/terraform/variables.tf Outdated Show resolved Hide resolved
templates/workspaces/base/terraform/locals.tf Outdated Show resolved Hide resolved
templates/workspaces/base/terraform/workspace.tf Outdated Show resolved Hide resolved
@guybartal
Copy link
Contributor

make sure you run terraform fmt --recursive in templates folder

@guybartal
Copy link
Contributor

  • please make sure you tag all base workspace azure services, for example Airlock services:

https://github.com/microsoft/AzureTRE/blob/c83ec6428d4f459ce95b77e000b59e55f90b4e5e/templates/workspaces/base/terraform/airlock/storage_accounts.tf

  • try to deploy a new workspace to validate all new created resources are with the correct tags.

@guybartal
Copy link
Contributor

LGTM, just fix the PR description (core->workspace).

@tamirkamara tamirkamara changed the title Tagging Base workspace [cost] Tagging Base workspace Jun 7, 2022
@tamirkamara tamirkamara self-requested a review June 8, 2022 20:16
@tamirkamara
Copy link
Collaborator

/test-extended

@github-actions
Copy link

github-actions bot commented Jun 8, 2022

🤖 pr-bot 🤖

⚠️ When using /test-extended on external PRs, the SHA of the checked commit must be specified

(in response to this comment from @tamirkamara)

@tamirkamara
Copy link
Collaborator

/test-extended d98c508

@github-actions
Copy link

github-actions bot commented Jun 8, 2022

🤖 pr-bot 🤖

🏃 Running extended tests: https://github.com/microsoft/AzureTRE/actions/runs/2464128324 (with refid 9c37e34b)

(in response to this comment from @tamirkamara)

@tamirkamara
Copy link
Collaborator

/test-destroy-env

@github-actions
Copy link

github-actions bot commented Jun 9, 2022

Destroying PR test environment (RG: rg-tre9c37e34b)... (run: https://github.com/microsoft/AzureTRE/actions/runs/2465990940)

@github-actions
Copy link

github-actions bot commented Jun 9, 2022

PR test environment destroy complete (RG: rg-tre9c37e34b)

@tamirkamara
Copy link
Collaborator

/test-extended 50c79ea

@github-actions
Copy link

🤖 pr-bot 🤖

🏃 Running extended tests: https://github.com/microsoft/AzureTRE/actions/runs/2500624343 (with refid 9c37e34b)

(in response to this comment from @tamirkamara)

@eladiw
Copy link
Contributor

eladiw commented Jun 16, 2022

/test-destroy-env

@github-actions
Copy link

Destroying PR test environment (RG: rg-tre9c37e34b)... (run: https://github.com/microsoft/AzureTRE/actions/runs/2507361379)

@github-actions
Copy link

PR test environment destroy complete (RG: rg-tre9c37e34b)

@microsoft microsoft deleted a comment from github-actions bot Jun 16, 2022
@tamirkamara
Copy link
Collaborator

/test-extended 82f15f9

@github-actions
Copy link

🤖 pr-bot 🤖

🏃 Running extended tests: https://github.com/microsoft/AzureTRE/actions/runs/2510555507 (with refid 9c37e34b)

(in response to this comment from @tamirkamara)

@tamirkamara
Copy link
Collaborator

/test-extended b77766c

@github-actions
Copy link

🤖 pr-bot 🤖

🏃 Running extended tests: https://github.com/microsoft/AzureTRE/actions/runs/2513356766 (with refid 9c37e34b)

(in response to this comment from @tamirkamara)

1 similar comment
@github-actions
Copy link

🤖 pr-bot 🤖

🏃 Running extended tests: https://github.com/microsoft/AzureTRE/actions/runs/2513356766 (with refid 9c37e34b)

(in response to this comment from @tamirkamara)

@tamirkamara
Copy link
Collaborator

/test-destroy-env

@github-actions
Copy link

Destroying PR test environment (RG: rg-tre9c37e34b)... (run: https://github.com/microsoft/AzureTRE/actions/runs/2513801808)

@github-actions
Copy link

PR test environment destroy complete (RG: rg-tre9c37e34b)

@github-actions
Copy link

🤖 pr-bot 🤖

🏃 Running extended tests: https://github.com/microsoft/AzureTRE/actions/runs/2513356766 (with refid 9c37e34b)

(in response to this comment from @tamirkamara)

@tamirkamara
Copy link
Collaborator

/test-extended 0bde637

@github-actions
Copy link

🤖 pr-bot 🤖

🏃 Running extended tests: https://github.com/microsoft/AzureTRE/actions/runs/2514084321 (with refid 9c37e34b)

(in response to this comment from @tamirkamara)

@tamirkamara tamirkamara merged commit e75f26a into microsoft:main Jun 17, 2022
@pedro-pelegrin-nttdata pedro-pelegrin-nttdata deleted the pedro-pelegrin-nttdata/3917_Tag_Base_workspace branch June 20, 2022 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external PR from an external contributor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tag Base workspace template in Terraform
5 participants