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

Version Packages #368

Merged
merged 1 commit into from
Mar 19, 2025
Merged

Version Packages #368

merged 1 commit into from
Mar 19, 2025

Conversation

dx-pagopa-bot
Copy link
Contributor

@dx-pagopa-bot dx-pagopa-bot commented Mar 18, 2025

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

[email protected]

Major Changes

  • 4e8ca58: Role assignments can now be created contextually with identities and target resources

    Migration guide:
    When using the azurerm provider version >= 3.114.0, enable the beta opt-in feature to access the required provider-defined functions available from version 4 by setting the following environment variable:

    export ARM_FOURPOINTZERO_BETA=true
    

    A description field has been added to the role assignments. This field is required and can be used to provide why the role assignment is being created.

    Also, remove all name and resource_group_name parameters from the variables and use the id gotten from a resource, module or data source as follows:

    ...
    module "roles" {
      source       = "../../"
      principal_id = azurerm_user_assigned_identity.id.principal_id
    
      storage_table = [
        {
          storage_account_name = "test"
          resource_group_name  = "test-rg"
          table_name           = "test-table"
          role                 = "reader"
        }
      ]
    ...
    }
    

    becomes

    ...
    module "roles" {
      source       = "../../"
      principal_id = azurerm_user_assigned_identity.id.principal_id
    
      storage_table = [
        {
          storage_account_id = module.storage_account.id
          table_name         = "test-table"
          role               = "reader"
          description        = "Allow the test identity read access to the test-table"
        }
      ]
    ...
    }
    

[email protected]

Minor Changes

  • 6ef0285: Add Log Analytics Workspace role assignment

[email protected]

Patch Changes

  • 0385c5a: Removed zone_redundant variable

@dx-pagopa-bot dx-pagopa-bot requested a review from a team as a code owner March 18, 2025 14:43
@github-actions github-actions bot force-pushed the changeset-release/main branch 4 times, most recently from b67240e to b6a572f Compare March 19, 2025 12:16
@github-actions github-actions bot force-pushed the changeset-release/main branch from b6a572f to 78e5845 Compare March 19, 2025 13:46
@lucacavallaro lucacavallaro merged commit 0ae580b into main Mar 19, 2025
3 checks passed
@lucacavallaro lucacavallaro deleted the changeset-release/main branch March 19, 2025 13:49
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