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

features/943 - Add initial terraform project and pipeline #944

Closed
wants to merge 5 commits into from

Conversation

andreasisnes
Copy link
Contributor

  • Add pipeline for deploying infrastructure
  • Add initial terraform project

Related Issue(s)

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)

Copy link

Terraform environment AT22

Format and Style 🖌success

Initialization ⚙️success

Validation 🤖success

Validation Output

Success! The configuration is valid.


Plan 📖success

Show Plan

terraform
Acquiring state lock. This may take a few moments...

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_resource_group.auth will be created
  + resource "azurerm_resource_group" "auth" {
      + id       = (known after apply)
      + location = "norwayeast"
      + name     = "rg-altinn-authorization-AT22-001"
    }

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 @andreasisnes
Action push
Working Directory ./infrastructure/authorization
State github.com/altinn/altinn-authorization/environments/at22/infrastructure.tfstate
Artifact github.com_altinn_altinn-authorization_environments_at22_infrastructure.tfstate

Copy link

Terraform environment AT24

Format and Style 🖌success

Initialization ⚙️success

Validation 🤖success

Validation Output

Success! The configuration is valid.


Plan 📖success

Show Plan

terraform
Acquiring state lock. This may take a few moments...

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_resource_group.auth will be created
  + resource "azurerm_resource_group" "auth" {
      + id       = (known after apply)
      + location = "norwayeast"
      + name     = "rg-altinn-authorization-AT24-001"
    }

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 @andreasisnes
Action push
Working Directory ./infrastructure/authorization
State github.com/altinn/altinn-authorization/environments/at24/infrastructure.tfstate
Artifact github.com_altinn_altinn-authorization_environments_at24_infrastructure.tfstate

Copy link

Terraform environment AT21

Format and Style 🖌success

Initialization ⚙️success

Validation 🤖success

Validation Output

Success! The configuration is valid.


Plan 📖success

Show Plan

terraform
Acquiring state lock. This may take a few moments...

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_resource_group.auth will be created
  + resource "azurerm_resource_group" "auth" {
      + id       = (known after apply)
      + location = "norwayeast"
      + name     = "rg-altinn-authorization-AT21-001"
    }

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 @andreasisnes
Action push
Working Directory ./infrastructure/authorization
State github.com/altinn/altinn-authorization/environments/at21/infrastructure.tfstate
Artifact github.com_altinn_altinn-authorization_environments_at21_infrastructure.tfstate

Copy link

Terraform environment AT23

Format and Style 🖌success

Initialization ⚙️success

Validation 🤖success

Validation Output

Success! The configuration is valid.


Plan 📖success

Show Plan

terraform
Acquiring state lock. This may take a few moments...

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_resource_group.auth will be created
  + resource "azurerm_resource_group" "auth" {
      + id       = (known after apply)
      + location = "norwayeast"
      + name     = "rg-altinn-authorization-AT23-001"
    }

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 @andreasisnes
Action push
Working Directory ./infrastructure/authorization
State github.com/altinn/altinn-authorization/environments/at23/infrastructure.tfstate
Artifact github.com_altinn_altinn-authorization_environments_at23_infrastructure.tfstate

Copy link

sonarcloud bot commented Jul 15, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

1 participant