(AWS) Updating packages and get a compilation erro...
# general
f
(AWS) Updating packages and get a compilation error and what is looking like a documentation bug regarding DNS validation for certificates https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/aws/acm/#dns-validation-with-route-53
package.json before:
Copy code
{
  "name": "aws-typescript",
  "devDependencies": {
    "@types/node": "^12.0.8"
  },
  "dependencies": {
    "@pulumi/aws": "^0.18.8",
    "@pulumi/awsx": "^0.18.5",
    "@pulumi/pulumi": "^0.17.17"
  }
}
package.json after:
Copy code
{
  "name": "aws-typescript",
  "devDependencies": {
    "@types/node": "^12.0.12"
  },
  "dependencies": {
    "@pulumi/aws": "^0.18.16",
    "@pulumi/awsx": "^0.18.6",
    "@pulumi/pulumi": "^0.17.21"
  }
}
Compilation error is related to :
type: certCertificate.domainValidationOptions[0].resourceRecordType,
b
<ignore that>
f
b
yeah i need to fix this up
f
Looks like
RecordArgs.Type
changed to
Input<RecordType>
b
correct
f
bah, didn't find that when I searched github
b
I will make a change in a sec that fixes you up
we should allow either or
let me open a PR now
one sec
f
b
it does
that is what I am doing now
I will tag you on this PR
👍 1
f
Best course of action for now? downgrade?
b
let me find the version it changed
0.18.9 should fix this up for you
f
cheers mate
b
let me know if that fixes it
I will try and make a hot fix for this
f
Yeah looks like a serious one that might affect many people if they upgrade (I think).
b
f
subscribed
b
@fresh-summer-65887 your release is being prepared now
will take about 30 mins for the cycle of tests
f
deadly
b
@fresh-summer-65887 your release is out 😉
let me know if this fixes your error please