Skip to content

Fix add environment bootstrap#1847

Open
mamu0 wants to merge 8 commits into
mainfrom
fix-dx-add-environment
Open

Fix add environment bootstrap#1847
mamu0 wants to merge 8 commits into
mainfrom
fix-dx-add-environment

Conversation

@mamu0

@mamu0 mamu0 commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Update dx add environment to add the selected environment to the repository Terraform module and apply it immediately..
Now also accept numeric resource prefixes when requesting Azure authorization (e.g. dxt0).

Resolves CES-1989

mamu0 and others added 5 commits June 12, 2026 15:45
Ensure dx add environment updates and applies the repository Terraform module so non-prod GitHub environments are provisioned with the expected policies. Also accept numeric resource prefixes when requesting Azure authorization.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Avoid rolling back add environment initialization while a newly created Key Vault endpoint is still propagating through DNS. Wait for the endpoint to resolve before writing runner app secrets.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Use an assertion that remains stable after lint autofix so the dx-cli Nx test target keeps passing.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@mamu0 mamu0 force-pushed the fix-dx-add-environment branch from e1b42f2 to c993448 Compare June 15, 2026 12:47
@mamu0 mamu0 marked this pull request as ready for review June 16, 2026 10:15
@mamu0 mamu0 requested a review from a team as a code owner June 16, 2026 10:15
Comment thread .nx/version-plans/version-plan-1781190475359.md Outdated
@krusty93

Copy link
Copy Markdown
Contributor
  • Keep GitHub environments provisioned through Terraform so protection rules, reviewers, and branch policies are configured consistently.

question: What does "keep" mean? Is there any other way in our platform?

  • Accept numeric resource prefixes when requesting Azure authorization.

question: ?

Co-authored-by: Andrea Grillo <andrea.grillo@pagopa.it>
@mamu0

mamu0 commented Jun 16, 2026

Copy link
Copy Markdown
Contributor Author

question: What does "keep" mean? Is there any other way in our platform?

I just meant that the workflow hasn't been changed; it modify the Terraform configuration and then apply it

question: ?

That is a leftover modification from my local testing. The prefix now supports numbers as well, such as dxt0 (you can check it here and here), but if it isn't useful, I can remove it. It is a minor change and not a requirement for this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants