Skip to content

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

Terraform Dynamic Java Application on GKE

This repository contains the Terraform and the Kubernetes YAML deployed by the Jump Start Solution (JSS) titled Dynamic web application with Java. The source code for web application ("Point of Sale") deployed by this JSS can be found at github.com/GoogleCloudPlatform/point-of-sale, in the jss-3.0 branch.

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.