File tree Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -150,6 +150,12 @@ spec:
150150 rdb_snapshot_period = string
151151 })
152152 outputs :
153+ - name : apphub_service_uri
154+ description : Service URI in CAIS style to be used by Apphub.
155+ type :
156+ - object
157+ - service_id : string
158+ service_uri : string
153159 - name : auth_string
154160 description : AUTH String set on the instance. This field will only be populated if auth_enabled is true.
155161 type : string
Original file line number Diff line number Diff line change @@ -68,3 +68,11 @@ output "env_vars" {
6868 " REDIS_PORT" : tostring (google_redis_instance. default . port )
6969 }
7070}
71+
72+ output "apphub_service_uri" {
73+ value = {
74+ service_uri = " //memorystore.googleapis.com/${ google_redis_instance . default . id } "
75+ service_id = google_redis_instance.default.id
76+ }
77+ description = " Service URI in CAIS style to be used by Apphub."
78+ }
Original file line number Diff line number Diff line change 1+ name = " jieyutian-test-redis-0"
2+ project_id = " jieyutian-redis-0"
3+ region = " us-central1"
4+ authorized_network = " projects/jieyutian-redis-0/global/networks/jieyu-redis"
You can’t perform that action at this time.
0 commit comments