Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Service account creation out of IaC #74

Open
pablo-suazo opened this issue Jun 7, 2023 · 0 comments
Open

Service account creation out of IaC #74

pablo-suazo opened this issue Jun 7, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@pablo-suazo
Copy link

TL;DR

After some time after applying the module using terraform, if I do a terraform plan, it shows some changes was made and try to adjust the infrastructure

image

Expected behavior

No response

Observed behavior

No response

Terraform Configuration

module "gcr_cleaner" {
  source                              = "mirakl/gcr-cleaner/google"
  version                             = "3.0.1"
  
  cloud_run_service_location          = "europe-west1"
  cloud_run_service_maximum_instances = 1
  app_engine_application_location     = "europe-west1"
  cloud_run_service_name              = "gcr-cleaner"
  cloud_run_service_timeout_seconds   = 60
  cloud_scheduler_job_schedule        = "0 4 * * 6"
  cloud_scheduler_job_time_zone       = "Europe/Madrid"
  create_app_engine_app               = false

  gcr_repositories = [
    {
      project_id = "mm-k8s-it-infra"
      storage_region = "eu"
      #clean_all = true
      repositories = [
        {
          name = "arce"
          keep           = 100 // It keeps the most recents ones based on the created metadata field, not the uploaded one
        },
        {
          name = "grafana"
          keep           = 100
        },
        {
          name = "jarvis"
          keep           = 100
        },
        {
          name = "myapp"
          keep           = 100
        },
        {
          name = "pre-arce"
          keep           = 100
        },
        {
          name = "pre-grafana"
          keep           = 100
        },
        {
          name = "pre-jarvis"
          keep           = 100
        },
        {
          name = "shieldapi"
          keep           = 100
        },
        {
          name = "pre-stockmm"
          keep           = 100
        },
        {
          name = "stockmm"
          keep           = 100
        }
      ]
    }
  ]
}

Terraform Version

terraform version                                                                                                                                                                                                                                                                      ─╯
Terraform v1.3.4
on linux_amd64
+ provider registry.terraform.io/carlpett/sops v0.7.2
+ provider registry.terraform.io/hashicorp/archive v2.3.0
+ provider registry.terraform.io/hashicorp/external v2.3.1
+ provider registry.terraform.io/hashicorp/google v4.68.0
+ provider registry.terraform.io/hashicorp/google-beta v4.68.0
+ provider registry.terraform.io/hashicorp/kubernetes v2.21.1
+ provider registry.terraform.io/hashicorp/null v3.2.1
+ provider registry.terraform.io/hashicorp/random v3.5.1
+ provider registry.terraform.io/hashicorp/time v0.9.1

Your version of Terraform is out of date! The latest version
is 1.4.6. You can update by downloading from https://www.terraform.io/downloads.html

Additional information

No response

@pablo-suazo pablo-suazo added the bug Something isn't working label Jun 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant