Running with gitlab-runner 18.4.0~pre.195.g5de42c65 (5de42c65)  on blue-2.saas-linux-small-amd64.runners-manager.gitlab.com/default XxUrkriXT, system ID: s_f46a988edce4 section_start:1762378232:prepare_executor Preparing the "docker+machine" executor Using Docker executor with image registry.gitlab.com/opencraft/dev/grove/tools-container:0.35.0 ... Using effective pull policy of [always] for container registry.gitlab.com/opencraft/dev/grove/tools-container:0.35.0 Authenticating with credentials from job payload (GitLab Registry) Pulling docker image registry.gitlab.com/opencraft/dev/grove/tools-container:0.35.0 ... Using docker image sha256:93ef754e54cec57e70f69f0828d1095ca15964d75822a7360126171916ddd35f for registry.gitlab.com/opencraft/dev/grove/tools-container:0.35.0 with digest registry.gitlab.com/opencraft/dev/grove/tools-container@sha256:c049b5e75e5c0ef23d0e8856b866344a2402a73ebc69f91edd088e0550c87957 ... section_end:1762378266:prepare_executor section_start:1762378266:prepare_script Preparing environment Using effective pull policy of [always] for container sha256:f62e9f7439fc54a9cf4c18d408fae0bffc53010e15bebcf465df57ee651b6a6b Running on runner-xxurkrixt-project-51564656-concurrent-0 via runner-xxurkrixt-s-l-s-amd64-1762378047-50461ce6... section_end:1762378269:prepare_script section_start:1762378269:get_sources Getting source from Git repository Gitaly correlation ID: fb6664ceff6947ddb62bd5d6be137210 Fetching changes with git depth set to 50... Initialized empty Git repository in /builds/opencraft/ops/axim-pr-sandboxes/.git/ Created fresh repository. Checking out ce4a91b0 as detached HEAD (ref is main)... Updating/initializing submodules recursively with git depth set to 50... Submodule 'grove' (https://gitlab.com/opencraft/dev/grove.git) registered for path 'grove' Synchronizing submodule url for 'grove' Cloning into '/builds/opencraft/ops/axim-pr-sandboxes/grove'... From https://gitlab.com/opencraft/dev/grove * branch a8b9a6b277d4dc4bcc753c17d64f9a4e650e9702 -> FETCH_HEAD Submodule path 'grove': checked out 'a8b9a6b277d4dc4bcc753c17d64f9a4e650e9702' Updated submodules Synchronizing submodule url for 'grove' Entering 'grove' Entering 'grove' $ git remote set-url origin "${CI_REPOSITORY_URL}" || echo 'Not a git repository; skipping' section_end:1762378274:get_sources section_start:1762378274:restore_cache Restoring cache Checking cache for tf-ce4a91b0-protected... Downloading cache from https://storage.googleapis.com/gitlab-com-runners-cache/project/51564656/tf-ce4a91b0-protected ETag="adff38a11686eba0b8c504f81eef98ee" Successfully extracted cache section_end:1762378281:restore_cache section_start:1762378281:download_artifacts Downloading artifacts Downloading artifacts for cluster infra plan (11989142999)... Downloading artifacts from coordinator... ok  correlation_id=efbe23771f3c4484a16c826656fbb0d1 host=storage.googleapis.com id=11989142999 responseStatus=200 OK token=6b_EG41WS section_end:1762378282:download_artifacts section_start:1762378282:step_script Executing "step_script" stage of the job script Using effective pull policy of [always] for container registry.gitlab.com/opencraft/dev/grove/tools-container:0.35.0 Using docker image sha256:93ef754e54cec57e70f69f0828d1095ca15964d75822a7360126171916ddd35f for registry.gitlab.com/opencraft/dev/grove/tools-container:0.35.0 with digest registry.gitlab.com/opencraft/dev/grove/tools-container@sha256:c049b5e75e5c0ef23d0e8856b866344a2402a73ebc69f91edd088e0550c87957 ... $ kubectl config get-contexts CURRENT NAME CLUSTER AUTHINFO NAMESPACE opencraft/ops/axim-pr-sandboxes:axim-pr-sandboxes gitlab agent:1077905 $ kubectl config use-context ${CI_PROJECT_PATH}:${K8S_CLUSTER_AGENT_CONTEXT} Switched to context "opencraft/ops/axim-pr-sandboxes:axim-pr-sandboxes". $ cd ${GITLAB_TOFU_ROOT_DIR} $ $SCRIPTS_DIR/tf.sh apply Initializing the backend...  Successfully configured the backend "http"! OpenTofu will automatically use this backend unless the backend configuration changes. Initializing modules... Initializing provider plugins... - Finding latest version of hashicorp/null... - Finding latest version of hashicorp/tls... - Finding latest version of loafoe/htpasswd... - Finding gitlabhq/gitlab versions matching "~> 17.6"... - Finding gavinbunney/kubectl versions matching "~> 1.18"... - Finding hashicorp/helm versions matching "~> 2.17"... - Finding latest version of hashicorp/random... - Finding latest version of hashicorp/kubernetes... - Finding digitalocean/digitalocean versions matching "~> 2.64"... - Finding latest version of hashicorp/external... - Installing hashicorp/random v3.7.2... - Installed hashicorp/random v3.7.2 (signed, key ID 0C0AF313E5FD9F80) - Installing hashicorp/external v2.3.5... - Installed hashicorp/external v2.3.5 (signed, key ID 0C0AF313E5FD9F80) - Installing loafoe/htpasswd v1.5.0... - Installed loafoe/htpasswd v1.5.0 (signed, key ID C0E4EB79E9E6A23D) - Installing gavinbunney/kubectl v1.19.0... - Installed gavinbunney/kubectl v1.19.0 (signed, key ID 1E1CE42504F5FBB2) - Installing gitlabhq/gitlab v17.11.0... - Installed gitlabhq/gitlab v17.11.0 (signed, key ID 0D47B7AB85F63F65) - Installing hashicorp/helm v2.17.0... - Installed hashicorp/helm v2.17.0 (signed, key ID 0C0AF313E5FD9F80) - Installing hashicorp/kubernetes v2.38.0... - Installed hashicorp/kubernetes v2.38.0 (signed, key ID 0C0AF313E5FD9F80) - Installing digitalocean/digitalocean v2.68.0... - Installed digitalocean/digitalocean v2.68.0 (signed, key ID F82037E524B9C0E8) - Installing hashicorp/null v3.2.4... - Installed hashicorp/null v3.2.4 (signed, key ID 0C0AF313E5FD9F80) - Installing hashicorp/tls v4.1.0... - Installed hashicorp/tls v4.1.0 (signed, key ID 0C0AF313E5FD9F80) Providers are signed by their developers. If you'd like to know more about provider signing, you can read about it here: https://opentofu.org/docs/cli/plugins/signing/ OpenTofu has created a lock file .terraform.lock.hcl to record the provider selections it made above. Include this file in your version control repository so that OpenTofu can guarantee to make the same selections by default when you run "tofu init" in the future. OpenTofu has been successfully initialized! module.k8s_gitlab_container_registry["pr-1813-c25332"].kubernetes_namespace.k8s_namespace: Creating... module.instance_edxapp_bucket["pr-1813-c25332"].random_id.bucket_suffix: Creating... module.instance_edxapp_bucket["pr-1813-c25332"].random_id.bucket_suffix: Creation complete after 0s [id=Jt02Sw85xak] module.instance_edxapp_bucket["pr-1813-c25332"].digitalocean_spaces_bucket.spaces_bucket: Creating... module.mongodb.digitalocean_database_cluster.database_cluster: Modifying... [id=41391828-a924-4be3-bfc4-f7774c4763a0] module.k8s_gitlab_container_registry["pr-1813-c25332"].kubernetes_namespace.k8s_namespace: Creation complete after 0s [id=pr-1813-c25332] module.k8s_gitlab_container_registry["pr-1813-c25332"].kubernetes_default_service_account.k8s_default_service_account: Creating... module.k8s_gitlab_container_registry["pr-1813-c25332"].kubernetes_secret.k8s_docker_secret: Creating... module.k8s_gitlab_container_registry["pr-1813-c25332"].kubernetes_secret.k8s_docker_secret: Creation complete after 0s [id=pr-1813-c25332/pr-1813-c25332-docker-cfg] module.k8s_gitlab_container_registry["pr-1813-c25332"].kubernetes_default_service_account.k8s_default_service_account: Creation complete after 0s [id=pr-1813-c25332/default] module.mongodb.digitalocean_database_cluster.database_cluster: Modifications complete after 0s [id=41391828-a924-4be3-bfc4-f7774c4763a0] module.mongodb.digitalocean_database_user.database_users["pr-1811-c25332"]: Modifying... [id=41391828-a924-4be3-bfc4-f7774c4763a0/user/pr-1811-c25332] module.mongodb.digitalocean_database_user.database_users["pr-1813-c25332"]: Creating... module.mongodb.digitalocean_database_db.databases["pr-1813-c25332"]: Creating... digitalocean_database_db.forum_database["pr-1813-c25332"]: Creating... digitalocean_database_db.forum_database["pr-1813-c25332"]: Creation complete after 2s [id=41391828-a924-4be3-bfc4-f7774c4763a0/database/pr-1813-c25332-cs_comments_service] module.mongodb.digitalocean_database_db.databases["pr-1813-c25332"]: Creation complete after 2s [id=41391828-a924-4be3-bfc4-f7774c4763a0/database/pr-1813-c25332] module.instance_edxapp_bucket["pr-1813-c25332"].digitalocean_spaces_bucket.spaces_bucket: Creation complete after 7s [id=edx-axim-sandboxes-pr-1813-c25332-2800454239300208041] module.instance_edxapp_bucket["pr-1813-c25332"].digitalocean_spaces_bucket_policy.public_root_object_policy[0]: Creating... module.instance_edxapp_bucket["pr-1813-c25332"].digitalocean_spaces_bucket_policy.public_root_object_policy[0]: Creation complete after 0s [id=edx-axim-sandboxes-pr-1813-c25332-2800454239300208041] module.mongodb.digitalocean_database_user.database_users["pr-1813-c25332"]: Creation complete after 10s [id=41391828-a924-4be3-bfc4-f7774c4763a0/user/pr-1813-c25332] ╷ │ Warning: Argument is deprecated │  │  with module.instance_edxapp_bucket["pr-1813-c25332"].digitalocean_spaces_bucket.spaces_bucket, │  on spaces/main.tf line 13, in resource "digitalocean_spaces_bucket" "spaces_bucket": │  13: resource "digitalocean_spaces_bucket" "spaces_bucket" { │  │ Terraform will only perform drift detection if a configuration value is │ provided. Use the resource `digitalocean_spaces_bucket_cors_configuration` │ instead. ╵ ╷ │ Error: Error updating settings for DatabaseUser: PUT https://api.digitalocean.com/v2/databases/41391828-a924-4be3-bfc4-f7774c4763a0/users/pr-1811-c25332: 400 (request "2be5de45-3639-4149-bbb7-5625307c67b0") request is missing the following required fields: user_settings │  │  with module.mongodb.digitalocean_database_user.database_users["pr-1811-c25332"], │  on database/main.tf line 66, in resource "digitalocean_database_user" "database_users": │  66: resource "digitalocean_database_user" "database_users" { │  ╵ Releasing state lock. This may take a few moments... section_end:1762378312:step_script section_start:1762378312:cleanup_file_variables Cleaning up project directory and file based variables section_end:1762378313:cleanup_file_variables ERROR: Job failed: exit code 1