Skip to content

Commit

Permalink
Merge pull request #154 from GoogleCloudPlatform/nlp-bucket-fix
Browse files Browse the repository at this point in the history
changing the bucket names
  • Loading branch information
fellipeamedeiros authored Jun 7, 2024
2 parents dd88369 + 0ecd2ad commit fe3b19a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions nlp-sentiment-analysis/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Pricing Estimates - We have created a sample estimate based on some usage we see

1. Click on Open in Google Cloud Shell button below.

<a href="https://ssh.cloud.google.com/cloudshell/editor?shellonly=true&cloudshell_git_repo=https://github.com/GoogleCloudPlatform/click-to-deploy-solutions&cloudshell_workspace=nlp-sentiment-analysis&cloudshell_open_in_editor=terraform/terraform.tfvars" target="_new">
<a href="https://ssh.cloud.google.com/cloudshell/editor?shellonly=true&cloudshell_git_repo=https://github.com/GoogleCloudPlatform/click-to-deploy-solutions&cloudshell_workspace=nlp-sentiment-analysis&cloudshell_open_in_editor=infra/terraform.tfvars" target="_new">
<img alt="Open in Cloud Shell" src="https://gstatic.com/cloudssh/images/open-btn.svg">
</a>

Expand All @@ -53,7 +53,7 @@ sh prereq.sh

3. Run the Cloud Build Job
```
gcloud builds submit . --config cloudbuild.yaml
gcloud builds submit . --config build/cloudbuild.yaml
```

## Testing the architecture
Expand Down
4 changes: 2 additions & 2 deletions nlp-sentiment-analysis/infra/gcs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
# limitations under the License.

resource "google_storage_bucket" "doc_input" {
name = "${var.project_id}-sentiment-analysis"
name = "${var.project_id}-sentiment-analysis-input"
location = var.region
uniform_bucket_level_access = true
force_destroy = true
labels = local.resource_labels
}

resource "google_storage_bucket" "doc_output" {
name = "${var.project_id}-sentiment-analysis"
name = "${var.project_id}-sentiment-analysis-output"
location = var.region
uniform_bucket_level_access = true
force_destroy = true
Expand Down

0 comments on commit fe3b19a

Please sign in to comment.