Skip to content

GoogleCloudPlatform/terraform-example-java-dynamic-point-of-sale

Terraform Dynamic Java Application on GKE

Quickstart

Try out the Terraform in this repository.

Prerequisites

  • The Terraform has only been tested on Google Cloud Shell.
  • You environment will need:
    • terraform
    • gcloud
    • kubectl
    • sed

Steps

1. Clone this git repository.

git clone https://github.com/GoogleCloudPlatform/terraform-example-java-dynamic-point-of-sale

2. Go into the infra/ folder.

cd terraform-example-java-dynamic-point-of-sale/infra

3. Run the Terraform.

terraform init
terraform apply -var 'project_id=MY_PROJECT_ID'

Replace MY_PROJECT_ID with your Google Cloud Project ID. We recommend creating a new project so you can easily clean up all resources by deleting the entire project.

You may need to type "Yes", when after you run terraform apply.

4. Report any bugs as a GitHub Issue.

a. Search the existing list of GitHub.

b. If there isn't already a GitHub issue for your bug, create a new GitHub issue.

5. Get the IP address of the deployment.

TBD

Contributing

If you would like to contribute to this repository, read CONTRIBUTING.

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms. See Code of Conduct for more information.

License

Apache 2.0 - See LICENSE for more information.