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

ISO template users can optionally provide a TF_VAR_resource_ip_whitelist env-var to control the VNET white-list #356

Closed
wants to merge 4 commits into from

Conversation

ThePhen
Copy link
Contributor

@ThePhen ThePhen commented Oct 2, 2019

All Submissions:


  • [YES] Have you followed the guidelines in our Contributing document?
  • [YES] Have you added an explanation of what your changes do and why you'd like us to include them?
  • [YES]I have updated the documentation accordingly.
  • [YES] I have added tests to cover my changes.
  • [YES] All new and existing tests passed.
  • [YES] My code follows the code style of this project.
  • [YES] I ran lint checks locally prior to submission.
  • [YES] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

What is the current behavior?


ISO template users must provide whitelist IP/CIDR input via the infra/templates/az-isolated-service-single-region/terraform.tfvars file (and thus check-in a change to that file to account for their specific self-hosted build agents)

Resolves Issue Number #341

What is the new behavior?


ISO template users can optionally provide a TF_VAR_resource_ip_whitelist environment variable (via many means, including Az Pipeline Variable Groups) to control the whitelist.

Users that do not use the new, optional env var will see the same behavior as before.

Stephen Henderson added 3 commits October 2, 2019 16:35
call the new help mod to parse the string into a TF list
user can populate "TF_VAR_resource_ip_whitelist" to override the default whitelist
use TF's heredoc syntax to help with readability
@ThePhen ThePhen added the wip label Oct 2, 2019
@ThePhen
Copy link
Contributor Author

ThePhen commented Oct 3, 2019

@nmiodice gave me some ideas. I'll close thiss, then re-open, later today, when I'ver tried his suggestions.

@ThePhen ThePhen closed this Oct 3, 2019
@nmiodice nmiodice deleted the feature/341 branch April 14, 2020 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant