-
Notifications
You must be signed in to change notification settings - Fork 16
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
Add OpenTofu module examples for blog posts #163
Conversation
OK, tests are passing, so this is ready for review. |
Taking a look |
Actually, hold up on reviewing for one minute! I need to rename a few things. |
Snap isn't available
@@ -0,0 +1,23 @@ | |||
package test |
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.
Having a file with {{
in git will break the git clone in Windows...
So far I thought about generation of files at runtime in "unix" tests:
- have generic file name like "module_test.go.template"
- in "unix" test copy the test directory to temp dir
- rename file to "{{..."
- run tests
I can handle this in my windows CICD branch
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.
Yes, I saw that. Windows is always such a PITA :-D
The one catch with code-generating this example is that I'm linking to the example from the new blog post... So if it's code-generated, that doesn't quite work... Is there any other alternative? Does it work with Cygwin or something?
Thanks for the review. Merging now so I can get the blog post published. |
Description
These are examples that are used in a blog post to announce Boilerplate. I figured it made sense to add the official versions of these examples to this repo, where we could also have automated tests for them.
TODOs
Read the Gruntwork contribution guidelines.
Release Notes (draft)
Added / Removed / Updated [X].
Migration Guide