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

feat: compute file path tag #930

Merged
merged 4 commits into from
Sep 13, 2023

Conversation

jakeyheath
Copy link
Contributor

@jakeyheath jakeyheath commented Sep 13, 2023

Ccie 1804

Summary

This PR adds a new tag called "terraformWorkspaceDir" that is the current working directory of the terraform workspace that created the resources. This will be helpful in identifying where the resource was created just by looking at the resources in the AWS console.

@jakeyheath jakeyheath changed the base branch from dtsai/fogg-tags to main September 13, 2023 19:33
@jakeyheath jakeyheath changed the base branch from main to dtsai/fogg-tags September 13, 2023 19:34
@jakeyheath jakeyheath marked this pull request as ready for review September 13, 2023 20:05
@jakeyheath jakeyheath requested a review from a team as a code owner September 13, 2023 20:05
* fix: add func for git origin

* move test; deadcode

* timestamp
@dtsai-czi dtsai-czi merged commit ce410cb into dtsai/fogg-tags Sep 13, 2023
3 of 4 checks passed
@dtsai-czi dtsai-czi deleted the CCIE-1804-compute-file-path-tag branch September 13, 2023 23:00
dtsai-czi added a commit that referenced this pull request Sep 18, 2023
…#918)

* skeleton for obtaining tags from config

* add tags to template

* stub stamps

* feat: fill in github repository for tags

* golden files

* CCIE-1806

* deadcode

* feat: compute file path tag (#930)

* chore: first change

* feat: add filepath of template being executed

* tag name change

* fix: add func for git origin (#931)

* fix: add func for git origin

* move test; deadcode

* timestamp

* update golden files

* fix git remote url test

* stamp cleanup and fix git remote test

* remove user from template

* update golden files

* progress

* update golden files

* ci update golden files

* update actions

* token

* commit from ci -- updated golden files

* fix: populate git related tags with templated terraform (#934)

* progress

* handle git log errors in script

* fix json string formatting

* add git data source to template

* git helper tags

* branch tag

* cleanup

* add git authors to tags

* commit from ci -- updated golden files

* git author query formatting

* commit from ci -- updated golden files

---------

Co-authored-by: Jake Heath <[email protected]>
Co-authored-by: Jake Heath <[email protected]>
Co-authored-by: jakeyheath <[email protected]>
Co-authored-by: dtsai-czi <[email protected]>
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.

2 participants