Skip to content

v3.0.0

Choose a tag to compare

@terraform-ibm-modules-ops terraform-ibm-modules-ops released this 19 May 10:33
· 31 commits to main since this release
v3.0.0
07e3a80

3.0.0 (2025-05-19)

(#181) (07e3a80)

Bug Fixes

  • added a fix to prevent resources getting destroyed when a trusted profile name is being renamed
    • trusted_profile_policies now has a required attribute called unique_identifier which must have a unique value per policy. It is only used by terraform for building map objects, it is not use for any actual resource naming. Changing this value will cause resources to be recreated.
    • trusted_profile_claim_rules now has a required attribute called unique_identifier which must have a unique value per claim rule. It is only used by terraform for building map objects, it is not use for any actual resource naming. Changing this value will cause resources to be recreated.
    • trusted_profile_links now has a required attribute calledunique_identifier` which must have a unique value per profile link. It is only used by terraform for building map objects, it is not use for any actual resource naming. Changing this value will cause resources to be recreated.

BREAKING CHANGES

  • If upgrading from a previous version, you can prevent resources from being recreated if you use the correct value for the new unique_identifier attribute. For example, if you used the following value for trusted profile name: trusted_profile_name = "my-profile" you should use the following naming conventions:

Trusted profile policies

trusted_profile_policies = [
    {
      unique_identifier = "my-profile-0" # use the format of "<trusted profile name>-0" for first item in the list
      ...
      ...
    },
    {
      unique_identifier = "my-profile-1" # use the format of "<trusted profile name>-1" for second item in the list, and so on
      ...
      ...
    }
]

Trusted profile policies

trusted_profile_claim_rules = [
    {
      unique_identifier = "my-profile-0" # use the format of "<trusted profile name>-0" for first item in the list
      ...
      ...
    },
    {
      unique_identifier = "my-profile-1" # use the format of "<trusted profile name>-1" for second item in the list, and so on
      ...
      ...
    }
]

Trusted profile links

trusted_profile_links = [
    {
      unique_identifier = "my-profile-0" # use the format of "<trusted profile name>-0" for first item in the list
      ...
      ...
    },
    {
      unique_identifier = "my-profile-1" # use the format of "<trusted profile name>-1" for second item in the list, and so on
      ...
      ...
    }
]