Skip to content

Bgdnext64/85 add more terraform samples#252

Merged
maniSbindra merged 5 commits into
mainfrom
bgdnext64/85-add-more-terraform-samples
Jun 24, 2026
Merged

Bgdnext64/85 add more terraform samples#252
maniSbindra merged 5 commits into
mainfrom
bgdnext64/85-add-more-terraform-samples

Conversation

@bgdnext64

Copy link
Copy Markdown
Collaborator

No description provided.

@bgdnext64 bgdnext64 requested a review from a team as a code owner April 9, 2026 16:02
@bgdnext64 bgdnext64 linked an issue Apr 9, 2026 that may be closed by this pull request
@bgdnext64 bgdnext64 requested a review from Copilot April 10, 2026 16:20

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR expands MPF’s documentation and sample artifacts for Terraform (and ARM) by adding ready-to-use “initial permissions” JSON files and updating docs to reflect the current --jsonOutput behavior and Terraform module targeting usage.

Changes:

  • Add sample JSON permission seed files for Terraform remote backend access and ARM initial permissions.
  • Update docs with new examples for --jsonOutput, --initialPermissions, and Terraform --targetModule.
  • Bump the Go version declared in go.mod.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
samples/terraform/backend-permissions.json Adds a reusable initial-permissions JSON sample for Terraform remote backend scenarios.
samples/templates/arm-initial-permissions.json Adds a reusable initial-permissions JSON sample for ARM deployments.
go.mod Updates the declared Go version.
docs/installation-and-quickstart.md Adds ARM/Terraform JSON output examples and initial-permissions guidance.
docs/display-options.MD Updates JSON output examples to match current formatter output and adds Terraform JSON/detailed sections.
docs/commandline-flags-and-env-variables.md Adds module-targeting example and expands initial-permissions / remote backend guidance.

Comment thread go.mod Outdated
Comment thread docs/installation-and-quickstart.md
Comment thread docs/display-options.MD

@maniSbindra maniSbindra left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

One minor change suggested

Comment thread docs/commandline-flags-and-env-variables.md Outdated
bgdnext64 added 4 commits June 8, 2026 10:26
- Add ARM JSON output example to installation-and-quickstart.md
- Add ARM --initialPermissions examples (comma-separated and @file.json) to installation-and-quickstart.md
- Add ARM --initialPermissions examples to commandline-flags-and-env-variables.md
- Fix --outputFormat json (non-existent flag) to --jsonOutput in display-options.MD
- Fix JSON output sample to match actual output format (flat map of scope to permissions)
- Add arm-initial-permissions.json sample file
- Add language specifiers to fenced code blocks (MD040)
- Add blank line before heading (MD022)
…itial permissions

- Add Terraform JSON output, --targetModule, and --initialPermissions
  examples to installation-and-quickstart.md (bash + PowerShell)
- Add Terraform JSON output and detailed output sections to
  display-options.MD with --varFilePath for ACI sample
- Add --targetModule usage example to commandline-flags-and-env-variables.md
- Enhance Terraform remote backend --initialPermissions example with full
  env var setup, PowerShell variant, and reference to #172
- Create samples/terraform/backend-permissions.json sample file

Closes #85
- Rename ARM JSON heading to 'ARM with Known Permissions (JSON File)'

- Reference provided backend-permissions.json sample by relative path

- Quote @file paths in PowerShell --initialPermissions examples

- Update Bicep JSON output description to flat scope->permissions map
@bgdnext64 bgdnext64 force-pushed the bgdnext64/85-add-more-terraform-samples branch from 4ff51b0 to 811f5e8 Compare June 8, 2026 16:33
@bgdnext64 bgdnext64 requested a review from maniSbindra June 8, 2026 16:43
@maniSbindra maniSbindra requested a review from Copilot June 9, 2026 09:36

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 4 comments.

Comment thread docs/installation-and-quickstart.md
Comment thread docs/installation-and-quickstart.md
Comment thread docs/installation-and-quickstart.md
Comment thread docs/display-options.MD

@maniSbindra maniSbindra left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

accepted as readability formatting in docs; not blocking.

@maniSbindra maniSbindra self-requested a review June 9, 2026 12:20
@maniSbindra

Copy link
Copy Markdown
Contributor

@bgdnext64 there are some conflicts, could those be resolved. Thanks, Mani

…-terraform-samples

# Conflicts:
#	docs/display-options.MD
@maniSbindra maniSbindra added this pull request to the merge queue Jun 23, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 5 comments.

Comment thread docs/display-options.MD
Comment thread docs/display-options.MD
Comment thread docs/display-options.MD
Comment thread docs/display-options.MD
Comment thread docs/display-options.MD
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jun 23, 2026
@maniSbindra maniSbindra enabled auto-merge June 24, 2026 05:02
@maniSbindra maniSbindra added this pull request to the merge queue Jun 24, 2026
Merged via the queue into main with commit 2c53311 Jun 24, 2026
18 checks passed
@maniSbindra maniSbindra deleted the bgdnext64/85-add-more-terraform-samples branch June 24, 2026 12:31
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.

Add more Terraform Samples

3 participants