Skip to content

regonn/weather-discord-bot-cloud-run-terraform

Repository files navigation

Weather discord bot for gcp cloud run with terraform

Push to Container Registry

$ cd docker/weather_discord_bot_for_cloud_run
$ cp .env.sample .env

Fill .env file.

$ docker build -t weather-discord-bot-for-cloud-run .
$ gcloud auth login
$ gcloud auth configure-docker
$ docker tag weather-discord-bot-for-cloud-run gcr.io/[PROJECT-ID]/weather-discord-bot-for-cloud-run
$ docker push gcr.io/[PROJECT-ID]/weather-discord-bot-for-cloud-run

Terraform

$ cd [This project directory]/terraform

Put account.json file from GCP service account keys

$ terraform init
$ terraform plan
$ terraform apply

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published