From e42f2c676fa4e5e6a703b37f8380ec65bab0424d Mon Sep 17 00:00:00 2001
From: Rajas Nathak <61021680+rajasnathak@users.noreply.github.com>
Date: Wed, 5 Jun 2024 12:28:05 -0500
Subject: [PATCH 1/2] changing the bucket names
---
nlp-sentiment-analysis/infra/gcs.tf | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/nlp-sentiment-analysis/infra/gcs.tf b/nlp-sentiment-analysis/infra/gcs.tf
index 637ca2f..4bc3afe 100644
--- a/nlp-sentiment-analysis/infra/gcs.tf
+++ b/nlp-sentiment-analysis/infra/gcs.tf
@@ -13,7 +13,7 @@
# 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
@@ -21,7 +21,7 @@ resource "google_storage_bucket" "doc_input" {
}
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
From 0ecd2ad422b72c5547e66e34368180f54202f9c0 Mon Sep 17 00:00:00 2001
From: Rajas Nathak <61021680+rajasnathak@users.noreply.github.com>
Date: Thu, 6 Jun 2024 11:29:26 -0500
Subject: [PATCH 2/2] fixing the readme
---
nlp-sentiment-analysis/README.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/nlp-sentiment-analysis/README.md b/nlp-sentiment-analysis/README.md
index b18596f..bd88160 100644
--- a/nlp-sentiment-analysis/README.md
+++ b/nlp-sentiment-analysis/README.md
@@ -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.
-
+
@@ -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