Skip to content

Latest commit

 

History

History
58 lines (45 loc) · 8.97 KB

File metadata and controls

58 lines (45 loc) · 8.97 KB

Hello Universe TF

This folder contains the demo code for the Deploy an Application using Palette Dev Engine. The code is intended to be used with the tutorial and as a result may not execute if invoked directly with terraform apply.

Requirements

Name Version
spectrocloud >= 0.21.6

Providers

Name Version
spectrocloud 0.21.6

Modules

No modules.

Resources

Name Type
spectrocloud_application.scenario-1 resource
spectrocloud_application.scenario-2 resource
spectrocloud_application_profile.hello-universe-complete resource
spectrocloud_application_profile.hello-universe-ui resource
spectrocloud_virtual_cluster.cluster-1 resource
spectrocloud_virtual_cluster.cluster-2 resource
spectrocloud_cluster_group.cluster-group data source
spectrocloud_pack_simple.container_pack data source
spectrocloud_pack_simple.postgres_service data source
spectrocloud_registry.public_registry data source

Inputs

Name Description Type Default Required
cluster-group-name The name of the cluster group to use for the virtual cluster string n/a yes
database-name The name of the database string "counter" no
database-ssl-mode The SSL mode to use for the database string "require" no
database-user The name of the database user string "pguser" no
database-version The version of Postgres to use string "14" no
enable-second-scenario Whether to enable the second scenario bool false no
multiple_container_images The name of the container images to use for the virtual cluster in a multiple scenario map(string)
{
"api": "ghcr.io/spectrocloud/hello-universe-api:1.0.8",
"ui": "ghcr.io/spectrocloud/hello-universe:1.0.12"
}
no
scenario-one-cluster-name The name of the cluster to use for the virtual cluster string "cluster-1" no
scenario-two-cluster-name The name of the cluster to use for the virtual cluster in the second scenario string "cluster-2" no
single-container-image The name of the container image to use for the virtual cluster in a single scenario string "ghcr.io/spectrocloud/hello-universe:1.0.12" no
tags The default tags to apply to Palette resources list(string)
[
"spectro-cloud-education",
"app:hello-universe",
"repository:spectrocloud/tutorials/",
"terraform_managed:true",
"tutorial:hello-universe-tf"
]
no
token The anonymous token to use for the Spectro Cloud API string "931A3B02-8DCC-543F-A1B2-69423D1A0B94" no

Outputs

Name Description
Advisory n/a