I am not able to update work pool using UI, this i...
# ask-community
p
I am not able to update work pool using UI, this is ECS Push work pool, please help
it fails to save when I put anything into environment variables
It does not like "[" and "]", eg the following failed to save when entering in workpool environment
Copy code
[
  {
    "name": "DATABASE_NAME",
    "value": "wp_prod_priceguide_staging"
  },
  {
    "name": "STAGING_BUCKET",
    "value": "wp-prod-priceguide-staging"
  }
]
b
Hi Patrick, I think it may be the case you'd need to pass in a dictionary. Could you try this?
Copy code
{ 
 {
    "name": "DATABASE_NAME",
    "value": "wp_prod_priceguide_staging"
  },
  {
    "name": "STAGING_BUCKET",
    "value": "wp-prod-priceguide-staging"
  }
}
Ah- I take that back, I think this may be what you'd need:
Copy code
{
  "DATABASE_NAME": "wp_prod_priceguide_staging",
  "STAGING_BUCKET": "wp-prod-priceguide-staging"
}
👍 1