Quantcast
Channel: Active questions tagged ruby - Stack Overflow
Viewing all articles
Browse latest Browse all 4631

How to specify env with terraform and github actions so valid environment.rb file will be used in Google Cloud Run with docker image [closed]

$
0
0

I am setting up a staging server on GCP.

Steps followed are -

  1. Uploaded docker image to Artifact Registry
  2. Using Cloud SQL for database
  3. Using Cloud Run

I am using terraform configuration. I can deploy it but it shows me an error for host so added the following hosts in staging.rb, development.rb and production.rb

config.hosts << 'URL generated by cloud run'

It works after adding in all environment.rb file but I want it to be specific just for staging.rb

Can you please help. Thank you


Viewing all articles
Browse latest Browse all 4631

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>