@@ -144,6 +144,27 @@ _Note: Please refer to [Secure Web Proxy documentation](../../docs/secure-web-pr
144144
145145<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
146146
147+ To provision this example, run the following commands from within this directory:
148+
149+ * ` mv terraform.tfvars.example terraform.tfvars ` to rename the example ` tfvars ` file.
150+ * Fill the ` terraform.tfvars ` with your values.
151+ * ` terraform init ` to get the plugins.
152+ * ` terraform plan ` to see the infrastructure plan.
153+ * ` terraform apply ` to apply the infrastructure build.
154+ * ` terraform destroy ` to destroy the built infrastructure.
155+
156+ ### Testing
157+
158+ You can see the Secure Cloud Function running, forcing the Scheduler job to run.
159+
160+ * Go to [ Cloud Scheduler console] ( https://console.cloud.google.com/cloudscheduler/ ) .
161+ * Select your Serverless project.
162+ * Click in Actions at your Cloud Scheduler job and click in Force run.
163+ * Go to the [ Cloud Function console] ( https://console.cloud.google.com/functions ) .
164+ * Select your project and Cloud Function.
165+ * Go to logs.
166+ * When upload is done, you can see the Cloud Function logs consulting the Cloud SQL Database.
167+
147168## Requirements
148169
149170### Software
@@ -210,3 +231,17 @@ the resources of this module:
210231 * Compute Shared VPC Admin: ` roles/compute.xpnAdmin `
211232* Billing:
212233 * Billing User: ` roles/billing.user `
234+
235+ ### Required APIs enabled at Service Account project
236+
237+ The service account project must have the following APIs enabled:
238+
239+ * Access Context Manager API: ` accesscontextmanager.googleapis.com `
240+ * Cloud Billing API: ` cloudbilling.googleapis.com `
241+ * Cloud Build API: ` cloudbuild.googleapis.com `
242+ * Cloud Key Management Service (KMS) API: ` cloudkms.googleapis.com `
243+ * Cloud Pub/Sub API: ` pubsub.googleapis.com `
244+ * Cloud SQL Admin API: ` sqladmin.googleapis.com `
245+ * Cloud Resource Manager API: ` cloudresourcemanager.googleapis.com `
246+ * Identity and Access Management (IAM) API: ` iam.googleapis.com `
247+ * Service Networking API: ` servicenetworking.googleapis.com `
0 commit comments