GoogleCloudPlatform / GoogleCloudPlatform/deploystack-three-tier-app

3-tier-app not launching

Open
#22 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
39
Forks
40
PR merge metrics
No merged PRs in 30d

Description

The 3 their app isn't loading on my m2 MacBook Air:

```shell
Welcome to Cloud Shell! Type "help" to get started.
To set your Cloud Platform project in this session use “gcloud config set project [PROJECT_ID]”
cloudshell_open --repo_url "https://github.com/googlecloudplatform/deploystack-three-tier-app" --page "shell" --force_new_clone
max@cloudshell:~$ cloudshell_open --repo_url "https://github.com/googlecloudplatform/deploystack-three-tier-app" --page "shell" --force_new_clone
2024/12/19 13:31:25 Cloning https://github.com/googlecloudplatform/deploystack-three-tier-app into /home/max/cloudshell_open/deploystack-three-tier-app
Cloning into '/home/max/cloudshell_open/deploystack-three-tier-app'...
remote: Enumerating objects: 583, done.
remote: Counting objects: 100% (129/129), done.
remote: Compressing objects: 100% (63/63), done.
remote: Total 583 (delta 79), reused 107 (delta 64), pack-reused 454 (from 1)
Receiving objects: 100% (583/583), 155.23 KiB | 2.68 MiB/s, done.
Resolving deltas: 100% (317/317), done.

Deploystack
Three Tier App (TODO)
Installation will proceed with these settings
Setting Value

Stack Name three-tier-app
Project ID three-tier-app-445211
Project Number 353835789303
Basename three-tier-app
Region us-central1
Zone us-central1-a

Initializing the backend...

Initializing provider plugins...
- Finding latest version of hashicorp/null...
- Finding latest version of hashicorp/google...
- Finding latest version of hashicorp/google-beta...
- Finding latest version of hashicorp/random...
- Installing hashicorp/null v3.2.3...
- Installed hashicorp/null v3.2.3 (signed by HashiCorp)
- Installing hashicorp/google v6.14.1...
- Installed hashicorp/google v6.14.1 (signed by HashiCorp)
- Installing hashicorp/google-beta v6.14.1...
- Installed hashicorp/google-beta v6.14.1 (signed by HashiCorp)
- Installing hashicorp/random v3.6.3...
- Installed hashicorp/random v3.6.3 (signed by HashiCorp)

Terraform 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 Terraform can guarantee to make the same selections by default when
you run "terraform init" in the future.

Terraform has been successfully initialized!

You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.

If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.

│ Error: Unsupported argument

│ on main.tf line 172, in resource "google_secret_manager_secret" "redishost":
│ 172: automatic = true

│ An argument named "automatic" is not expected here.


│ Error: Unsupported argument

│ on main.tf line 188, in resource "google_secret_manager_secret" "sqlhost":
│ 188: automatic = true

│ An argument named "automatic" is not expected here.

Deploystack - Error
An error occurred collecting the necessary information to run your Deploystack
application. Please try again.

If the problem persists, please file an issue with the Github repo:
https://github.com/googlecloudplatform/deploystack-three-tier-app/issues
max@cloudshell:~/cloudshell_open/deploystack-three-tier-app (three-tier-app-445211)$ cloudshell_open --repo_url "https://github.com/googlecloudplatform/deploystack-three-tier-app" --page "shell" --force_new_clone
2024/12/19 13:33:48 Cloning https://github.com/googlecloudplatform/deploystack-three-tier-app into /home/max/cloudshell_open/deploystack-three-tier-app-0
Cloning into '/home/max/cloudshell_open/deploystack-three-tier-app-0'...
remote: Enumerating objects: 583, done.
remote: Counting objects: 100% (129/129), done.
remote: Compressing objects: 100% (63/63), done.
remote: Total 583 (delta 79), reused 107 (delta 64), pack-reused 454 (from 1)
Receiving objects: 100% (583/583), 155.23 KiB | 3.04 MiB/s, done.
Resolving deltas: 100% (317/317), done.

Deploystack
Three Tier App (TODO)
Installation will proceed with these settings
Setting Value

Stack Name three-tier-app
Project ID three-tier-app-445211
Project Number 353835789303
Basename three-tier-app
Region us-central1
Zone us-central1-a

Initializing the backend...

Initializing provider plugins...
- Finding latest version of hashicorp/google...
- Finding latest version of hashicorp/google-beta...
- Finding latest version of hashicorp/random...
- Finding latest version of hashicorp/null...
- Installing hashicorp/google v6.14.1...
- Installed hashicorp/google v6.14.1 (signed by HashiCorp)
- Installing hashicorp/google-beta v6.14.1...
- Installed hashicorp/google-beta v6.14.1 (signed by HashiCorp)
- Installing hashicorp/random v3.6.3...
- Installed hashicorp/random v3.6.3 (signed by HashiCorp)
- Installing hashicorp/null v3.2.3...
- Installed hashicorp/null v3.2.3 (signed by HashiCorp)

Terraform 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 Terraform can guarantee to make the same selections by default when
you run "terraform init" in the future.

Terraform has been successfully initialized!

You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.

If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.

│ Error: Unsupported argument

│ on main.tf line 172, in resource "google_secret_manager_secret" "redishost":
│ 172: automatic = true

│ An argument named "automatic" is not expected here.


│ Error: Unsupported argument

│ on main.tf line 188, in resource "google_secret_manager_secret" "sqlhost":
│ 188: automatic = true

│ An argument named "automatic" is not expected here.

Deploystack - Error
An error occurred collecting the necessary information to run your Deploystack
application. Please try again.

If the problem persists, please file an issue with the Github repo:
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.