Skip to content

Conversation

@ianjensenisme
Copy link
Contributor

Description

This pull request makes a small update to the default resource tags in the infra/main.tfvars.json configuration file. The primary change ensures that if the RESOURCE_TAGS environment variable is not set, a default tag with "name":"AZD-MCS-AZAI" will be used.

Related Issue(s)

Resolves #311

Copilot AI review requested due to automatic review settings October 16, 2025 21:37
@ianjensenisme ianjensenisme requested a review from a team as a code owner October 16, 2025 21:37
Copy link

Copilot AI left a comment

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 updates preprovision logic to ensure a default RESOURCE_TAGS value is set when absent, aligning local deployment with expected Terraform tag defaults.

  • Adds a check for the RESOURCE_TAGS environment variable.
  • Sets a default JSON tag value {"name":"AZD-MCS-AZAI"} when unset.
  • Provides informational logging and non-fatal error handling.

Copy link
Collaborator

@mattdot mattdot left a comment

Choose a reason for hiding this comment

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

use this pr instead #316

@mattdot mattdot closed this Oct 17, 2025
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.

[Bug] Azure 'tags' defaulting to invalid type in main.tfvars when running local deployment

4 participants