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

azurerm_palo_alto_next_generation_firewall_virtual_hub_panorama changing casing of tags #25685

Open
1 task done
justinlauck opened this issue Apr 20, 2024 · 1 comment
Open
1 task done
Labels
service/paloalto upstream/microsoft/blocking-api-issue This label is applicable when there is a bug on the Azure API that is blocking. v/3.x

Comments

@justinlauck
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment and review the contribution guide to help.

Terraform Version

1.7.3

AzureRM Provider Version

3.100.0

Affected Resource(s)/Data Source(s)

azurerm_palo_alto_next_generation_firewall_virtual_hub_panorama

Terraform Configuration Files

resource "azurerm_palo_alto_next_generation_firewall_virtual_hub_panorama" "cngfw" {
 
  ...
 
  tags = {
    Application     = "My Company's Application"
    Technical-Owner = "infrastructure@mycompany.com"
    Business-Owner  = "infrastructure@mycompany.com"
    Environment     = "Production"
    Criticality     = "Critical"
    Sensitivity     = "Medium"
  }
}

Debug Output/Panic Output

Terraform will perform the following actions:
  # azurerm_palo_alto_next_generation_firewall_virtual_hub_panorama.cngfw will be updated in-place
  ~ resource "azurerm_palo_alto_next_generation_firewall_virtual_hub_panorama" "cngfw" {
        id                     = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/PaloAltoNetworks.Cloudngfw/firewalls/myFirewallName"
        name                   = "myFirewallName"
      ~ tags                   = {
          + "Application"     = "My Company's Application"
          + "Business-Owner"  = "infrastructure@mycompany.com"
          + "Criticality"     = "Critical"
          + "Environment"     = "Production"
          + "Sensitivity"     = "Medium"
          + "Technical-Owner" = "infrastructure@mycompany.com"
          - "application"     = "My Company's Application" -> null
          - "business-Owner"  = "infrastructure@mycompany.com" -> null
          - "criticality"     = "Critical" -> null
          - "environment"     = "Production" -> null
          - "sensitivity"     = "Medium" -> null
          - "technical-Owner" = "infrastructure@mycompany.com" -> null
        }
        # (4 unchanged attributes hidden)
        # (16 unchanged blocks hidden)
    }
Plan: 0 to add, 1 to change, 0 to destroy.

Expected Behaviour

The tags should not be changed

Actual Behaviour

The first letter of the tag is changed to lower case.

Steps to Reproduce

Create a panorama configuration using tags that start with an uppercase letter.

Important Factoids

No response

References

No response

@neil-yechenwei
Copy link
Contributor

neil-yechenwei commented Apr 22, 2024

Thanks for raising this issue. Seems service API would change the first letter of the tag to lower case. So I filed an issue on Azure/azure-rest-api-specs#28777 for tracking this issue. Suggest use "ignore_changes" as workaround. Thanks.

@mybayern1974 mybayern1974 added the upstream/microsoft/blocking-api-issue This label is applicable when there is a bug on the Azure API that is blocking. label Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
service/paloalto upstream/microsoft/blocking-api-issue This label is applicable when there is a bug on the Azure API that is blocking. v/3.x
Projects
None yet
Development

No branches or pull requests

3 participants