Slackbot
12/19/2022, 3:05 AMDhilan Shah
12/20/2022, 5:51 PMAaron Pham
12/21/2022, 2:43 AMjjmachan
12/21/2022, 10:18 AMHEROKU_EMAIL
and HEROKU_API_KEY
with the mail and API key you used?jjmachan
12/21/2022, 10:20 AMDhilan Shah
12/21/2022, 8:15 PMbentoctl build
command (which results in the HEROKU_EMAIL error). How should I correctly set the environment variables/credentials in this situation @jjmachan?Dhilan Shah
12/21/2022, 8:21 PMapi_version: v1
name: nowasteapi
HEROKU_EMAIL: email
HEROKU_API_KEY: key
operator:
name: heroku
template: terraform
spec:
dyno_counts: 1
dyno_type: free
jjmachan
12/22/2022, 5:42 AMexport HEROKU_EMAIL=<you_email>
export HEROKU_API_KEY=<api_key>
alternatively you can use something like to load these env var when you cd into the project https://direnv.net/
You don't have to specify the env vars in the deployment-configDhilan Shah
12/22/2022, 7:27 PMTerraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
# heroku_formation.formation will be created
+ resource "heroku_formation" "formation" {
+ app_id = "68a15430-f90d-4e2f-9723-f11a9e79d2aa"
+ id = (known after apply)
+ quantity = 1
+ size = "Free"
+ type = "web"
}
Plan: 1 to add, 0 to change, 0 to destroy.
heroku_formation.formation: Creating...
╷
│ Error: Patch "<https://api.heroku.com/apps/68a15430-f90d-4e2f-9723-f11a9e79d2aa/formation/web>": Free dynos are no longer available. Subscribe to Eco to get your app running. Learn more at <https://blog.heroku.com/new-low-cost-plans>
│
│ with heroku_formation.formation,
│ on <http://main.tf|main.tf> line 72, in resource "heroku_formation" "formation":
│ 72: resource "heroku_formation" "formation" {
│
jjmachan
12/23/2022, 5:38 AMDhilan Shah
12/24/2022, 6:05 AMjjmachan
12/24/2022, 4:13 PMDhilan Shah
01/09/2023, 3:31 AMDhilan Shah
02/15/2023, 5:35 PMjjmachan
02/16/2023, 3:36 AMSean
02/16/2023, 5:01 AM