-
Notifications
You must be signed in to change notification settings - Fork 4
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
Added Terraform Plan Step for Testing #75
base: main
Are you sure you want to change the base?
Conversation
robg-test
commented
Jul 6, 2023
•
edited
Loading
edited
768f5f0
to
dbb575e
Compare
Should I rename these to test? |
Request rebase of this off main to fix the route53 example issue. This one will need some careful thought as about the intention behind these tests |
Some thoughts: Route53 change - I'd rather keep this here, the commits won't be squashed so the history will keep track of it as an individual change. this closed PR will contain the required context of why it was fixed. Name - I believe these should be called test and treated as such, they are effectively sample implementations of the terraform code which can be planned on a an actual AWS account which I believe do add value to the QA of the module. What to run on change - If the pipeline is dependent on the examples working then you have to run them, if you change an example which is broken and subsequently run a change to a module. Then the CI will break from something not in the current PR which doesn't seem right. I will update the name of the folders to test and re-request an approval. |
b6a15ff
to
796ec81
Compare
Happy to take a steer from you on this one @cmbuckley whether you think it's worth doing this. My main motivation for these tests is to let us create working modules proactively. This raises a question on how we steer this project. It's not necessarily needed if we create modules for projects and use this repo as reference. Then the tests would be the implementation on project. |
b44fe76
to
107c557
Compare
@@ -69,6 +69,17 @@ jobs: | |||
id: validate | |||
run: terraform validate | |||
|
|||
- name: Terraform Plan |
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 probably needs a check if test
folder exists