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

feat: sixDotOne #1115

Merged
merged 10 commits into from
Sep 2, 2024
Merged

feat: sixDotOne #1115

merged 10 commits into from
Sep 2, 2024

Conversation

matt-FFFFFF
Copy link
Member

@matt-FFFFFF matt-FFFFFF commented Aug 29, 2024

This PR fixes/adds/changes/removes

Latest policy refresh.

See https://github.com/Azure/terraform-azurerm-caf-enterprise-scale/milestone/13

Testing Evidence

Please provide any testing evidence to show that your Pull Request works/fixes as described and planned (include screenshots, if appropriate).

As part of this Pull Request I have

  • Checked for duplicate Pull Requests
  • Associated it with relevant issues, for tracking and closure.
  • Ensured my code/branch is up-to-date with the latest changes in the main branch
  • Performed testing and provided evidence.
  • Updated relevant and associated documentation.

matt-FFFFFF and others added 5 commits August 29, 2024 15:15
This is an automated 'pull_request' containing updates to the library
templates stored in 'modules/archetypes/lib'.
 Please review the 'files changed' tab to review changes.

Co-authored-by: github-actions <action@github.com>
Co-authored-by: Matt White <16320656+matt-FFFFFF@users.noreply.github.com>
…tatic apps (#1061)

<!-- markdownlint-disable first-line-h1 -->

<!-- Thank you for submitting a Pull Request. Please fill out the
template below.-->
## Overview/Summary

Azure static web apps are currently spawned without a known pattern in
Public DNS zones with different partition ids in their FQDN. We are now
counting [1,2,3,4,5].azurestaticapps.net with a unknown rising number.
Private DNS Zones are used for private Endpoints correspondingly
(privatelink.[1,2,3,4,5].azurestaticapps.net.) and as of the CAF
principals need to be known before deploying the first resources.

There is no programmatic approach known to me.

Feel free to adjust to your needs.

Examples for module calls:
```
# Adds all at PR time available: default + 1-5
configure_connectivity_resources = {
    ...
    advanced = {}
}

# Adds only zones: default + 4 + 5
configure_connectivity_resources = {
    ...
    advanced = {
      custom_privatelink_azurestaticapps_partitionids = [4, 5]
    }
}
```

## This PR fixes/adds/changes/removes

1. Adds all currently existing private DNS zones per default, when
'azure_web_apps_static_sites' is set to true.
2. Adds possibility to manually define a list of partition ids wanted.
(Prohibits a breaking change when Microsoft adds a new partitionid)

### Breaking Changes

none

## Testing Evidence

- I did a plan on our current infrastructure and had no changes (all
five private DNS Zone currently deployed)
- Also tested the default behavior when not setting the new variable

## As part of this Pull Request I have

- [x] Checked for duplicate [Pull
Requests](https://github.com/Azure/terraform-azurerm-caf-enterprise-scale/pulls)
- [ ] Associated it with relevant
[issues](https://github.com/Azure/terraform-azurerm-caf-enterprise-scale/issues),
for tracking and closure.
- [x] Ensured my code/branch is up-to-date with the latest changes in
the `main`
[branch](https://github.com/Azure/terraform-azurerm-caf-enterprise-scale/tree/main)
- [ ] Performed testing and provided evidence.
- [x] Updated relevant and associated documentation.

---------

Co-authored-by: Matt White <16320656+matt-FFFFFF@users.noreply.github.com>
…network ids (#1107)

#1106
Updated spoke_virtual_networks_for_dns to include the secure virtual
network ids

<!-- markdownlint-disable first-line-h1 -->

<!-- Thank you for submitting a Pull Request. Please fill out the
template below.-->
## Overview/Summary

Replace this with a brief description of what this Pull Request fixes,
changes, etc.

## This PR fixes/adds/changes/removes

1. *Replace me*
2. *Replace me*
3. *Replace me*

### Breaking Changes

1. *Replace me*
2. *Replace me*

## Testing Evidence

Please provide any testing evidence to show that your Pull Request
works/fixes as described and planned (include screenshots, if
appropriate).

## As part of this Pull Request I have

- [ ] Checked for duplicate [Pull
Requests](https://github.com/Azure/terraform-azurerm-caf-enterprise-scale/pulls)
- [ ] Associated it with relevant
[issues](https://github.com/Azure/terraform-azurerm-caf-enterprise-scale/issues),
for tracking and closure.
- [ ] Ensured my code/branch is up-to-date with the latest changes in
the `main`
[branch](https://github.com/Azure/terraform-azurerm-caf-enterprise-scale/tree/main)
- [ ] Performed testing and provided evidence.
- [ ] Updated relevant and associated documentation.
@matt-FFFFFF
Copy link
Member Author

/azp run unit

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@matt-FFFFFF
Copy link
Member Author

/azp run unit

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@matt-FFFFFF
Copy link
Member Author

/azp run e2e

Copy link

No pipelines are associated with this pull request.

@matt-FFFFFF
Copy link
Member Author

/azp run e2e

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@matt-FFFFFF
Copy link
Member Author

Only the clean up failed... think we are gtg

jaredfholgate
jaredfholgate previously approved these changes Sep 2, 2024
Copy link
Member

@jaredfholgate jaredfholgate left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just a couple of minor things.

locals.management.tf Show resolved Hide resolved
resources.management.tf Show resolved Hide resolved
variables.tf Outdated Show resolved Hide resolved
@matt-FFFFFF
Copy link
Member Author

/azp run unit

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Member

@jaredfholgate jaredfholgate left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@matt-FFFFFF matt-FFFFFF merged commit dc0c89d into main Sep 2, 2024
14 checks passed
@matt-FFFFFF matt-FFFFFF deleted the feat/sixDotOne branch September 2, 2024 12: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
4 participants