Running with gitlab-runner 18.4.0~pre.195.g5de42c65 (5de42c65)  on blue-4.saas-linux-small-amd64.runners-manager.gitlab.com/default J2nyww-sK, system ID: s_cf1798852952 section_start:1761948428: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:1761948454:prepare_executor section_start:1761948454:prepare_script Preparing environment Using effective pull policy of [always] for container sha256:c8a70e7bfc65bc05da8355eca7d562a2880a8fcbccb0441bca2d24c4844fa072 Running on runner-j2nyww-sk-project-51564656-concurrent-0 via runner-j2nyww-sk-s-l-s-amd64-1761948384-97e71110... section_end:1761948461:prepare_script section_start:1761948461:get_sources Getting source from Git repository Gitaly correlation ID: f6904f97ad994b55b4cbd2b13832a488 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 cf6e60f9 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:1761948465:get_sources section_start:1761948465:restore_cache Restoring cache Checking cache for tf-cf6e60f9-protected... Downloading cache from https://storage.googleapis.com/gitlab-com-runners-cache/project/51564656/tf-cf6e60f9-protected ETag="c95e366197f3ebd4256375c17c4ecba0" Successfully extracted cache section_end:1761948472:restore_cache section_start:1761948472:download_artifacts Downloading artifacts Downloading artifacts for cluster infra plan (11932029476)... Downloading artifacts from coordinator... ok  correlation_id=ada0b0aead324ef08da08776056126c2 host=storage.googleapis.com id=11932029476 responseStatus=200 OK token=6b_wAu5pS section_end:1761948473:download_artifacts section_start:1761948473: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 gavinbunney/kubectl versions matching "~> 1.18"... - Finding digitalocean/digitalocean versions matching "~> 2.64"... - Finding latest version of hashicorp/random... - Finding hashicorp/helm versions matching "~> 2.17"... - Finding latest version of hashicorp/null... - Finding latest version of hashicorp/kubernetes... - Finding latest version of loafoe/htpasswd... - Finding latest version of hashicorp/external... - Finding latest version of hashicorp/tls... - Finding gitlabhq/gitlab versions matching "~> 17.6"... - Installing hashicorp/null v3.2.4... - Installed hashicorp/null v3.2.4 (signed, key ID 0C0AF313E5FD9F80) - Installing hashicorp/kubernetes v2.38.0... - Installed hashicorp/kubernetes v2.38.0 (signed, key ID 0C0AF313E5FD9F80) - Installing gitlabhq/gitlab v17.11.0... - Installed gitlabhq/gitlab v17.11.0 (signed, key ID 0D47B7AB85F63F65) - Installing gavinbunney/kubectl v1.19.0... - Installed gavinbunney/kubectl v1.19.0 (signed, key ID 1E1CE42504F5FBB2) - Installing digitalocean/digitalocean v2.68.0... - Installed digitalocean/digitalocean v2.68.0 (signed, key ID F82037E524B9C0E8) - Installing hashicorp/random v3.7.2... - Installed hashicorp/random v3.7.2 (signed, key ID 0C0AF313E5FD9F80) - Installing hashicorp/helm v2.17.0... - Installed hashicorp/helm v2.17.0 (signed, key ID 0C0AF313E5FD9F80) - Installing loafoe/htpasswd v1.5.0... - Installed loafoe/htpasswd v1.5.0 (signed, key ID C0E4EB79E9E6A23D) - Installing hashicorp/external v2.3.5... - Installed hashicorp/external v2.3.5 (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.instance_edxapp_bucket["pr-2590-e8373e"].random_id.bucket_suffix: Creating... module.k8s_gitlab_container_registry["pr-2590-e8373e"].kubernetes_namespace.k8s_namespace: Creating... module.instance_edxapp_bucket["pr-2590-e8373e"].random_id.bucket_suffix: Creation complete after 0s [id=150J736H8Bw] module.instance_edxapp_bucket["pr-2590-e8373e"].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-2590-e8373e"].kubernetes_namespace.k8s_namespace: Creation complete after 1s [id=pr-2590-e8373e] module.k8s_gitlab_container_registry["pr-2590-e8373e"].kubernetes_secret.k8s_docker_secret: Creating... module.k8s_gitlab_container_registry["pr-2590-e8373e"].kubernetes_default_service_account.k8s_default_service_account: Creating... module.k8s_gitlab_container_registry["pr-2590-e8373e"].kubernetes_secret.k8s_docker_secret: Creation complete after 0s [id=pr-2590-e8373e/pr-2590-e8373e-docker-cfg] module.mongodb.digitalocean_database_cluster.database_cluster: Modifications complete after 1s [id=41391828-a924-4be3-bfc4-f7774c4763a0] module.k8s_gitlab_container_registry["pr-2590-e8373e"].kubernetes_default_service_account.k8s_default_service_account: Creation complete after 0s [id=pr-2590-e8373e/default] module.mongodb.digitalocean_database_user.database_users["pr-2590-e8373e"]: Creating... module.mongodb.digitalocean_database_db.databases["pr-2590-e8373e"]: Creating... digitalocean_database_db.forum_database["pr-2590-e8373e"]: Creating... module.mongodb.digitalocean_database_user.database_users["pr-1817-c25332"]: Modifying... [id=41391828-a924-4be3-bfc4-f7774c4763a0/user/pr-1817-c25332] digitalocean_database_db.forum_database["pr-2590-e8373e"]: Creation complete after 2s [id=41391828-a924-4be3-bfc4-f7774c4763a0/database/pr-2590-e8373e-cs_comments_service] module.mongodb.digitalocean_database_db.databases["pr-2590-e8373e"]: Creation complete after 2s [id=41391828-a924-4be3-bfc4-f7774c4763a0/database/pr-2590-e8373e] module.mongodb.digitalocean_database_user.database_users["pr-2590-e8373e"]: Creation complete after 4s [id=41391828-a924-4be3-bfc4-f7774c4763a0/user/pr-2590-e8373e] module.instance_edxapp_bucket["pr-2590-e8373e"].digitalocean_spaces_bucket.spaces_bucket: Creation complete after 8s [id=edx-axim-sandboxes-pr-2590-e8373e-15536585213722751004] module.instance_edxapp_bucket["pr-2590-e8373e"].digitalocean_spaces_bucket_policy.public_root_object_policy[0]: Creating... module.instance_edxapp_bucket["pr-2590-e8373e"].digitalocean_spaces_bucket_policy.public_root_object_policy[0]: Creation complete after 1s [id=edx-axim-sandboxes-pr-2590-e8373e-15536585213722751004] ╷ │ Warning: Argument is deprecated │  │  with module.instance_edxapp_bucket["pr-2590-e8373e"].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-1817-c25332: 400 (request "e9ea36a7-be1d-4112-818e-464df105df7c") request is missing the following required fields: user_settings │  │  with module.mongodb.digitalocean_database_user.database_users["pr-1817-c25332"], │  on database/main.tf line 66, in resource "digitalocean_database_user" "database_users": │  66: resource "digitalocean_database_user" "database_users" { │  ╵ section_end:1761948495:step_script section_start:1761948495:cleanup_file_variables Cleaning up project directory and file based variables section_end:1761948496:cleanup_file_variables ERROR: Job failed: exit code 1