We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I need to get the available zones in a region provided that the compute service has already being enabled in the project.
const services = new gcp.projects.Services('services', { services: ['compute.googleapis.com'], }); const available = pulumi.output(gcp.compute.getZones({}));
How can I make sure that getZones runs once the service has been enabled. I don't see a way of handling the dependency.
Thx
The text was updated successfully, but these errors were encountered:
I expect the following should work:
const services = new gcp.projects.Services('services', { services: ['compute.googleapis.com'], }); const available = services.id.apply(_ => gcp.compute.getZones({}));
The apply will only run after the services have been registered.
apply
Sorry, something went wrong.
No branches or pull requests
I need to get the available zones in a region provided that the compute service has already being enabled in the project.
How can I make sure that getZones runs once the service has been enabled. I don't see a way of handling the dependency.
Thx
The text was updated successfully, but these errors were encountered: