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

chore: rename deploy to bootstrap #26

Merged
merged 1 commit into from
Oct 8, 2024

Conversation

andreasisnes
Copy link
Collaborator

Verification

  • Your code builds clean without any errors or warnings
  • Manual testing done (required)
  • Relevant automated test added (if you find this hard, leave it and we'll help out)
  • All tests run green

Documentation

  • User documentation is updated with a separate linked PR in altinn-studio-docs. (if applicable)

@andreasisnes andreasisnes merged commit dcc7396 into main Oct 8, 2024
8 checks passed
@andreasisnes andreasisnes deleted the chores/add-deploy-for-bootstrap branch October 8, 2024 15:31
Copy link

github-actions bot commented Oct 8, 2024

Terraform environment at21

Format and Style 🖌success

Initialization ⚙️success

Validation 🤖success

Validation Output

Success! The configuration is valid.


Plan 📖success

Show Plan

[Lines containing Refreshing state removed]
[Maybe further truncated see logs for complete plan output]
Acquiring state lock. This may take a few moments...
module.app.data.azurerm_container_app_environment.caenv: Reading...
module.app.data.azurerm_app_configuration.appconf: Reading...
module.app.data.azurerm_servicebus_namespace.sb: Reading...
module.app.data.azurerm_key_vault.kv: Reading...
module.app.data.azurerm_postgresql_flexible_server.server: Reading...
module.app.data.azurerm_key_vault.kv: Read complete after 1s [id=/subscriptions/45177a0a-d27e-490f-9f23-b4726de8ccc1/resourceGroups/rgauth001at21/providers/Microsoft.KeyVault/vaults/kvaltinnauth001at21]
module.app.data.azurerm_postgresql_flexible_server.server: Read complete after 1s [id=/subscriptions/45177a0a-d27e-490f-9f23-b4726de8ccc1/resourceGroups/rgauth001at21/providers/Microsoft.DBforPostgreSQL/flexibleServers/psqlsrvaltinnauth001at21]
module.app.data.azurerm_container_app_environment.caenv: Read complete after 2s [id=/subscriptions/45177a0a-d27e-490f-9f23-b4726de8ccc1/resourceGroups/rgauth001at21/providers/Microsoft.App/managedEnvironments/caenvauth001at21]
module.app.data.azurerm_app_configuration.appconf: Read complete after 3s [id=/subscriptions/45177a0a-d27e-490f-9f23-b4726de8ccc1/resourceGroups/rgauth001at21/providers/Microsoft.AppConfiguration/configurationStores/appconfaltinnauth001at21]
module.app.data.azurerm_servicebus_namespace.sb: Read complete after 3s [id=/subscriptions/45177a0a-d27e-490f-9f23-b4726de8ccc1/resourceGroups/rgauth001at21/providers/Microsoft.ServiceBus/namespaces/sbaltinnauth001at21]

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  ~ update in-place

Terraform will perform the following actions:

  # module.app.azurerm_container_app.app will be updated in-place
  ~ resource "azurerm_container_app" "app" {
        id                            = "/subscriptions/45177a0a-d27e-490f-9f23-b4726de8ccc1/resourceGroups/rgindex001at21/providers/Microsoft.App/containerApps/caindex001at21"
        name                          = "caindex001at21"
        tags                          = {}
        # (9 unchanged attributes hidden)

      ~ identity {
          ~ identity_ids = [
              - "/subscriptions/45177a0a-d27e-490f-9f23-b4726de8ccc1/resourceGroups/rgauth001at21/providers/Microsoft.ManagedIdentity/userAssignedIdentities/mipsqlsrvadminauth001at21",
                # (1 unchanged element hidden)
            ]
            # (1 unchanged attribute hidden)
        }

      ~ template {
            # (2 unchanged attributes hidden)

          ~ container {
              ~ image             = "ghcr.io/altinn/altinn-authorization-tmp/altinn-authorization-index:e0a4def" -> "ghcr.io/altinn/altinn-authorization-tmp/altinn-authorization-index:dcc7396"
                name              = "index"
                # (5 unchanged attributes hidden)

              ~ env {
                  ~ name  = "EntraId__Identities__PostgresAdmin__ClientId" -> "EntraId__Identities__Service__ClientId"
                  ~ value = "193659bf-b885-4a06-9f01-dbf0e15a0e88" -> "482e3264-366f-46e2-b5c1-f8e019cd64bd"
                }
              ~ env {
                  ~ name  = "EntraId__Identities__Service__ClientId" -> "AppConfiguration__Endpoint"
                  ~ value = "482e3264-366f-46e2-b5c1-f8e019cd64bd" -> "https://appconfaltinnauth001at21.azconfig.io"
                }
              - env {
                  - name  = "AppConfiguration__Endpoint" -> null
                  - value = "https://appconfaltinnauth001at21.azconfig.io" -> null
                }
            }
        }

        # (1 unchanged block hidden)
    }

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

─────────────────────────────────────────────────────────────────────────────

Saved the plan to: tfplan.out

To perform exactly these actions, run the following command to apply:
    terraform apply "tfplan.out"
Releasing state lock. This may take a few moments...

Context Values
Pusher @andreasisnes
Action push
Working Directory src/apps/Altinn.Authorization.Index/deploy
State File github.com/altinn/altinn-authorization-tmp/environments/at21/altinn.authorization.index.tfstate
Plan File github.com_altinn_altinn-authorization-tmp_environments_at21_altinn.authorization.index.tfstate.tfplan

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.

1 participant