ContainerSolutions / terraform-examples

Simple and idiomatic examples of various Terraform functions and features.
https://containersolutions.github.io/terraform-examples/
159 stars 51 forks source link

Add Azure subscriptions and management groups #57

Closed teszes closed 2 years ago

teszes commented 3 years ago

Progress towards #50

teszes commented 3 years ago

Checks not passing because of the changeme naming requirement. It is not exactly clear to me what is the point of those, doesn't being a module variable adequately signal that it should be provided as a variable?

teszes commented 3 years ago

The exact data blocks the check has a problem with BTW probably shouldn't be changed directly, only by changing the variables themselves.

ttarczynski commented 3 years ago

Thank you @teszes for your contribution!

Just to expand a bit on the naming requirements. See the conventions documented here: README.md > Conventions

There are two main naming requirements:

Also please check the scripts enforcing these requirements:

ttarczynski commented 3 years ago

There's one more convention (not yet added to README):

The comments that we want to have in all examples:

ttarczynski commented 3 years ago

Thank you @teszes for the fixes. I've merged it to the integration branch to run CI tests applying the azure examples:

Our azurerm tests stopped working after previous change #56. I've described the issue in more detail in: #69

We need to fix #69 first, to be able to run automated CI tests before merging all the Azure pull requests.

teszes commented 3 years ago

That's cool, and see you at the meeting, I hope I can help fixing the CI

ttarczynski commented 2 years ago

Added one small fix: https://github.com/ContainerSolutions/terraform-examples/pull/57/commits/719384efae48b556315bb7c392eae5400dc1f903 , run CI apply test on integration, and ready to merge 👍