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

Change Terraform commands to use -chdir to avoid having to cd #202

Merged

Conversation

nick-stroud
Copy link
Collaborator

Output now looks like:

Terraform group was successfully created in directory hpc-cluster-small/primary
To deploy, run the following commands:
  terraform -chdir=hpc-cluster-small/primary init
  terraform -chdir=hpc-cluster-small/primary apply

Tested: manually ran ghpc create with multi group yaml and deployed both resource groups with outputted commands.

Submission Checklist

  • Have you installed and run this change against pre-commit? pre-commit install
  • Are all tests passing? make tests
  • If applicable, have you written additional unit tests to cover this
    change?
  • Is unit test coverage still above 80%?
  • Have you updated any application documentation such as READMEs and user
    guides?
  • Have you followed the guidelines in our Contributing document?

@nick-stroud nick-stroud requested a review from tpdownes April 7, 2022 23:27
@cboneti cboneti requested review from cboneti and removed request for tpdownes April 8, 2022 15:03
@cboneti cboneti assigned nick-stroud and unassigned tpdownes Apr 8, 2022
@nick-stroud nick-stroud merged commit 2ca09f9 into GoogleCloudPlatform:develop Apr 8, 2022
@nick-stroud nick-stroud deleted the instructions_use_chdir branch April 28, 2022 04:28
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