Skip to content

CCD-6090 Investigate Flattened Mapping#2919

Open
markdathornehmcts wants to merge 1 commit into
masterfrom
CCD-6090
Open

CCD-6090 Investigate Flattened Mapping#2919
markdathornehmcts wants to merge 1 commit into
masterfrom
CCD-6090

Conversation

@markdathornehmcts

Copy link
Copy Markdown
Contributor

JIRA link (if applicable)

https://tools.hmcts.net/jira/browse/CCD-6090

Change description

look into "flattened mapping" approach to help avoid any risk of a mapping explosion.

Does this PR introduce a breaking change? (check one with "x")

[ ] Yes
[x] No

@hmcts-jenkins-a-to-c

Copy link
Copy Markdown
Contributor

Plan Result (aat)

⚠️ Resource Deletion will happen

This plan contains resource delete operation. Please check the plan result very carefully!

Plan: 0 to add, 0 to change, 1 to destroy.
  • Delete
    • module.postgresql_v15.azurerm_postgresql_flexible_server_active_directory_administrator.pgsql_additional_principal_admin["14b22215-46e6-48a9-8681-e8cefe66236a"]
Change Result (Click me)
  # module.postgresql_v15.azurerm_postgresql_flexible_server_active_directory_administrator.pgsql_additional_principal_admin["14b22215-46e6-48a9-8681-e8cefe66236a"] will be destroyed
  # (because azurerm_postgresql_flexible_server_active_directory_administrator.pgsql_additional_principal_admin is not in configuration)
  - resource "azurerm_postgresql_flexible_server_active_directory_administrator" "pgsql_additional_principal_admin" {
      - id                  = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/ccd-data-store-api-postgres-db-v15-data-aat/providers/Microsoft.DBforPostgreSQL/flexibleServers/ccd-data-store-api-postgres-db-v15-aat/administrators/14b22215-46e6-48a9-8681-e8cefe66236a" -> null
      - object_id           = "14b22215-46e6-48a9-8681-e8cefe66236a" -> null
      - principal_name      = "jenkins-aat-mi" -> null
      - principal_type      = "ServicePrincipal" -> null
      - resource_group_name = "ccd-data-store-api-postgres-db-v15-data-aat" -> null
      - server_name         = "ccd-data-store-api-postgres-db-v15-aat" -> null
      - tenant_id           = "531ff96d-0ae9-462a-8d2d-bec7c0b42082" -> null
    }

Plan: 0 to add, 0 to change, 1 to destroy.

@hmcts-jenkins-a-to-c

Copy link
Copy Markdown
Contributor

Plan Result (prod)

⚠️ Resource Deletion will happen

This plan contains resource delete operation. Please check the plan result very carefully!

Plan: 0 to add, 0 to change, 1 to destroy.
  • Delete
    • module.postgresql_v15.azurerm_postgresql_flexible_server_active_directory_administrator.pgsql_additional_principal_admin["c860eaa0-74be-4731-8370-db94c5fdad81"]
Change Result (Click me)
  # module.postgresql_v15.azurerm_postgresql_flexible_server_active_directory_administrator.pgsql_additional_principal_admin["c860eaa0-74be-4731-8370-db94c5fdad81"] will be destroyed
  # (because azurerm_postgresql_flexible_server_active_directory_administrator.pgsql_additional_principal_admin is not in configuration)
  - resource "azurerm_postgresql_flexible_server_active_directory_administrator" "pgsql_additional_principal_admin" {
      - id                  = "/subscriptions/8999dec3-0104-4a27-94ee-6588559729d1/resourceGroups/ccd-data-store-api-postgres-db-v15-data-prod/providers/Microsoft.DBforPostgreSQL/flexibleServers/ccd-data-store-api-postgres-db-v15-prod/administrators/c860eaa0-74be-4731-8370-db94c5fdad81" -> null
      - object_id           = "c860eaa0-74be-4731-8370-db94c5fdad81" -> null
      - principal_name      = "jenkins-prod-mi" -> null
      - principal_type      = "ServicePrincipal" -> null
      - resource_group_name = "ccd-data-store-api-postgres-db-v15-data-prod" -> null
      - server_name         = "ccd-data-store-api-postgres-db-v15-prod" -> null
      - tenant_id           = "531ff96d-0ae9-462a-8d2d-bec7c0b42082" -> null
    }

Plan: 0 to add, 0 to change, 1 to destroy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant