Altinn / altinn-platform

Altinn Platform infrastructure
7 stars 1 forks source link

fix(altinn-monitor-test): add read role for grafana #1045

Closed sduranc closed 1 month ago

sduranc commented 1 month ago

Description

Related Issue(s)

Verification

Documentation

github-actions[bot] commented 1 month ago

Terraform environment test

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... data.azurerm_client_config.current: Reading... data.azurerm_client_config.current: Read complete after 0s [id=Y2xpZW50Q29uZmlncy9jbGllbnRJZD1mMDNmNzU3OS01ZjM5LTRkN2YtYmNlYS04ZTVjYjZkN2FjYTQ7b2JqZWN0SWQ9MDJiMTdkMjgtN2VjOC00MDg0LTkyY2UtZDI2MDUxZmE0OTk4O3N1YnNjcmlwdGlvbklkPTFjZThlOWFmLWMyZDYtNDRlNy05YzVlLTA5OWEzMDgwNTZmZTt0ZW5hbnRJZD1jZDAwMjZkOC0yODNiLTRhNTUtOWJmYS1kMGVmNGE4YmEyMWM=] Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: + create Terraform will perform the following actions: # azurerm_role_assignment.grafana_identity_reader will be created + resource "azurerm_role_assignment" "grafana_identity_reader" { + id = (known after apply) + name = (known after apply) + principal_id = "ccc9af1e-ab07-4895-8a2e-446fce26e871" + principal_type = (known after apply) + role_definition_id = (known after apply) + role_definition_name = "Monitoring Reader" + scope = "/subscriptions/1ce8e9af-c2d6-44e7-9c5e-099a308056fe" + skip_service_principal_aad_check = true } Plan: 1 to add, 0 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 @sduranc
Action push
Working Directory ./infrastructure/adminservices-test/altinn-monitor-test-rg
State File github.com/altinn/altinn-platform/environments/test/altinn-monitor-test-rg.tfstate
Plan File github.com_altinn_altinn-platform_environments_test_altinn-monitor-test-rg.tfstate.tfplan