error: Error: invocation of aws:route53/getZone:getZone returned an error: invoking aws:route53/getZone:getZone: 1 error occurred:
multiple Route53Zone found please use vpc_id option to filter
at Object.callback (/snapshot/pulumi-resource-aws-static-website/node_modules/@pulumi/pulumi/runtime/invoke.js:161:33)
at Object.onReceiveStatus (/snapshot/pulumi-resource-aws-static-website/node_modules/@grpc/grpc-js/src/client.ts:356:26)
at Object.onReceiveStatus (/snapshot/pulumi-resource-aws-static-website/node_modules/@grpc/grpc-js/src/client-interceptors.ts:455:34)
at Object.onReceiveStatus (/snapshot/pulumi-resource-aws-static-website/node_modules/@grpc/grpc-js/src/client-interceptors.ts:417:48)
at /snapshot/pulumi-resource-aws-static-website/node_modules/@grpc/grpc-js/src/resolving-call.ts:111:24
at processTicksAndRejections (node:internal/process/task_queues:78:11)
error: Unhandled exception: Error: failed to register new resource thomas.shadwell.im [aws-static-website:index:Website]: 2 UNKNOWN: invocation of aws:route53/getZone:getZone returned an error: invoking aws:route53/getZone:getZone: 1 error occurred:
multiple Route53Zone found please use vpc_id option to filter
at Object.registerResource (/private/var/tmp/_bazel_tshadwell/15310e5df52295849af33b570a7d9e6c/execroot/monorepo/bazel-out/darwin_arm64-fastbuild/bin/deploy/release.sh.runfiles/monorepo/node_modules/.aspect_rules_js/@pulumi+pulumi@3.68.0/node_modules/@pulumi/runtime/resource.ts:389:27)
at new Resource (/private/var/tmp/_bazel_tshadwell/15310e5df52295849af33b570a7d9e6c/execroot/monorepo/bazel-out/darwin_arm64-fastbuild/bin/deploy/release.sh.runfiles/monorepo/node_modules/.aspect_rules_js/@pulumi+pulumi@3.68.0/node_modules/@pulumi/resource.ts:423:13)
at new ComponentResource (/private/var/tmp/_bazel_tshadwell/15310e5df52295849af33b570a7d9e6c/execroot/monorepo/bazel-out/darwin_arm64-fastbuild/bin/deploy/release.sh.runfiles/monorepo/node_modules/.aspect_rules_js/@pulumi+pulumi@3.68.0/node_modules/@pulumi/resource.ts:925:9)
at new Website (/private/var/tmp/_bazel_tshadwell/15310e5df52295849af33b570a7d9e6c/execroot/monorepo/bazel-out/darwin_arm64-fastbuild/bin/deploy/release.sh.runfiles/monorepo/node_modules/.aspect_rules_js/@pulumi+aws-static-website@0.4.0/node_modules/@pulumi/website.ts:93:9)
at Object. (/private/var/tmp/_bazel_tshadwell/15310e5df52295849af33b570a7d9e6c/execroot/monorepo/bazel-out/darwin_arm64-fastbuild/bin/deploy/release.sh.runfiles/monorepo/ts/pulumi/im/shadwell/thomas/public/ts/pulumi/im/shadwell/thomas/public/index.ts:5:21)
at Module._compile (node:internal/modules/cjs/loader:1218:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1272:10)
at Module.load (node:internal/modules/cjs/loader:1081:32)
at Function.Module._load (node:internal/modules/cjs/loader:922:12)
at Module.require (node:internal/modules/cjs/loader:1105:19)
error: update failed
Expected Behavior
It should not throw this error.
Steps to reproduce
Have more than one hosted zone for the same domain in AWS.
Output of pulumi about
tshadwell@Thomass-MacBook-Air pulumi % pulumi about
CLI
Version 3.68.0
Go Version go1.20.4
Go Compiler gc
Plugins
NAME VERSION
nodejs unknown
Host
OS darwin
Version 13.3
Arch arm64
This project is written in nodejs: executable='/opt/homebrew/bin/node' version='v20.2.0'
Pulumi locates its logs in /var/folders/31/vfkwmksn54z9j3lsyb3wkyjw0000gn/T/ by default
warning: Failed to get information about the Pulumi program's dependencies: could not find either /Users/tshadwell/code/monorepo-sl/ts/pulumi/yarn.lock or /Users/tshadwell/code/monorepo-sl/ts/pulumi/package-lock.json
warning: Failed to get information about the current stack: No current stack
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
What happened?
error: Error: invocation of aws:route53/getZone:getZone returned an error: invoking aws:route53/getZone:getZone: 1 error occurred:
multiple Route53Zone found please use vpc_id option to filter
at Object.callback (/snapshot/pulumi-resource-aws-static-website/node_modules/@pulumi/pulumi/runtime/invoke.js:161:33) at Object.onReceiveStatus (/snapshot/pulumi-resource-aws-static-website/node_modules/@grpc/grpc-js/src/client.ts:356:26) at Object.onReceiveStatus (/snapshot/pulumi-resource-aws-static-website/node_modules/@grpc/grpc-js/src/client-interceptors.ts:455:34) at Object.onReceiveStatus (/snapshot/pulumi-resource-aws-static-website/node_modules/@grpc/grpc-js/src/client-interceptors.ts:417:48) at /snapshot/pulumi-resource-aws-static-website/node_modules/@grpc/grpc-js/src/resolving-call.ts:111:24 at processTicksAndRejections (node:internal/process/task_queues:78:11) error: Unhandled exception: Error: failed to register new resource thomas.shadwell.im [aws-static-website:index:Website]: 2 UNKNOWN: invocation of aws:route53/getZone:getZone returned an error: invoking aws:route53/getZone:getZone: 1 error occurred:
multiple Route53Zone found please use vpc_id option to filter
at Object.registerResource (/private/var/tmp/_bazel_tshadwell/15310e5df52295849af33b570a7d9e6c/execroot/monorepo/bazel-out/darwin_arm64-fastbuild/bin/deploy/release.sh.runfiles/monorepo/node_modules/.aspect_rules_js/@pulumi+pulumi@3.68.0/node_modules/@pulumi/runtime/resource.ts:389:27) at new Resource (/private/var/tmp/_bazel_tshadwell/15310e5df52295849af33b570a7d9e6c/execroot/monorepo/bazel-out/darwin_arm64-fastbuild/bin/deploy/release.sh.runfiles/monorepo/node_modules/.aspect_rules_js/@pulumi+pulumi@3.68.0/node_modules/@pulumi/resource.ts:423:13) at new ComponentResource (/private/var/tmp/_bazel_tshadwell/15310e5df52295849af33b570a7d9e6c/execroot/monorepo/bazel-out/darwin_arm64-fastbuild/bin/deploy/release.sh.runfiles/monorepo/node_modules/.aspect_rules_js/@pulumi+pulumi@3.68.0/node_modules/@pulumi/resource.ts:925:9) at new Website (/private/var/tmp/_bazel_tshadwell/15310e5df52295849af33b570a7d9e6c/execroot/monorepo/bazel-out/darwin_arm64-fastbuild/bin/deploy/release.sh.runfiles/monorepo/node_modules/.aspect_rules_js/@pulumi+aws-static-website@0.4.0/node_modules/@pulumi/website.ts:93:9) at Object. (/private/var/tmp/_bazel_tshadwell/15310e5df52295849af33b570a7d9e6c/execroot/monorepo/bazel-out/darwin_arm64-fastbuild/bin/deploy/release.sh.runfiles/monorepo/ts/pulumi/im/shadwell/thomas/public/ts/pulumi/im/shadwell/thomas/public/index.ts:5:21)
at Module._compile (node:internal/modules/cjs/loader:1218:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1272:10)
at Module.load (node:internal/modules/cjs/loader:1081:32)
at Function.Module._load (node:internal/modules/cjs/loader:922:12)
at Module.require (node:internal/modules/cjs/loader:1105:19)
error: update failed
Expected Behavior
It should not throw this error.
Steps to reproduce
Have more than one hosted zone for the same domain in AWS.
Output of
pulumi about
tshadwell@Thomass-MacBook-Air pulumi % pulumi about CLI
Version 3.68.0 Go Version go1.20.4 Go Compiler gc
Plugins NAME VERSION nodejs unknown
Host
OS darwin Version 13.3 Arch arm64
This project is written in nodejs: executable='/opt/homebrew/bin/node' version='v20.2.0'
Backend
Name pulumi.com URL https://app.pulumi.com/Zemnmez User Zemnmez Organizations Zemnmez
Pulumi locates its logs in /var/folders/31/vfkwmksn54z9j3lsyb3wkyjw0000gn/T/ by default warning: Failed to get information about the Pulumi program's dependencies: could not find either /Users/tshadwell/code/monorepo-sl/ts/pulumi/yarn.lock or /Users/tshadwell/code/monorepo-sl/ts/pulumi/package-lock.json warning: Failed to get information about the current stack: No current stack
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).