https://pulumi.com logo
#general
Title
# general
g

great-refrigerator-15198

10/15/2018, 2:58 PM
Hey there, when trying to create CloudWatch metric alarms I get this errors with no useful message attached:
Copy code
aws:cloudwatch:MetricAlarm: test-cache-redis-EngineCPUUtilization
    error: Plan apply failed: Creating metric alarm failed: ValidationError:
        status code: 400, request id: ...
Does anyone with more experience in Pulumi and/or Terraform knows how may I proceed? AWS docs list an infinity of possibilities for 400, but the lack of message doesn’t help to pin down what is going on
b

big-piano-35669

10/15/2018, 3:12 PM
That's bizarre, I wonder if we're somehow not printing the entire error message. If you run with extra logging enabled, does it reveal anything more useful?
Copy code
$ pulumi --logtostderr -v=9 up
g

great-refrigerator-15198

10/15/2018, 4:26 PM
Thanks Joe, this is a nice trick to remember! Though it didn’t help much because it seems it is AWS’s API lousy error messages. According to their documentation a
ValidationError
is because some of my inputs fails to satisfy the consttraints specified by AWS; but it doesn’t say which ones.
b

big-piano-35669

10/15/2018, 4:34 PM
Ahh, bummer 😕
😞 1