red-truck-60031
05/02/2022, 9:31 AM# for installing pulumi
RUN curl -fsSL <https://get.pulumi.com> | sh
crooked-spring-277
05/02/2022, 9:38 PMRUN curl -fsSL <https://get.pulumi.com> | sh
ENV PATH "$PATH:~/.pulumi/bin/"
RUN echo "export PATH=$PATH:~/.pulumi/bin/" >> ~/.bashrc && . ~/.bashrc
RUN cp -r ~/.pulumi/bin/* /usr/local/bin/
crooked-spring-277
05/02/2022, 9:38 PMgray-state-1017
05/04/2022, 1:29 PMquick-telephone-15244
05/04/2022, 1:58 PMpulumi up
there's a failure to create a resource, is there a flag I can use to have pulumi automatically begin a rollback/deletion of the resources it's created so far? or some other way to stop the command from continuing?quick-telephone-15244
05/04/2022, 1:58 PMmillions-branch-13617
05/04/2022, 9:10 PMicy-controller-6092
05/05/2022, 12:23 AMjolly-sunset-53116
05/05/2022, 4:19 PMwitty-vegetable-61961
05/05/2022, 9:53 PMbland-nest-69035
05/06/2022, 4:43 PMsilly-scientist-20604
05/06/2022, 8:35 PMsilly-scientist-20604
05/06/2022, 8:38 PMterraform state show module.service.kubernetes_ingress.example_ingress
?
I need to see details (Ex: arn) about a created/managed resource for investigation and troubleshooting purposes, without resorting to configuring outputs that will never be used.silly-scientist-20604
05/06/2022, 8:43 PMpulumi stack export | jq
white-chef-55657
05/07/2022, 8:12 AMpulumi up
it updates the parameters of cf stack, when I check the details it says the ddApiKey
has changed - but it didn’t.. it’s a secret so I can’t see its value in the details.
~ parameters: {
~ DdApiKey: [secret] => [secret]
}
any idea what’s going on? it’s just a waste of resources to redeploy the CF stack every time with virtually no change..damp-truck-25843
05/09/2022, 1:32 PMbrave-processor-54742
05/10/2022, 7:12 AM❯ pulumi up
Please choose a stack, or create a new one: [Use arrows to move, enter to select, type to filter]
> <create a new stack>
Do you know how to do to perform pulumi up using the existing stack?
Thanks!!microscopic-flower-5848
05/13/2022, 2:26 PMorange-wire-16250
05/13/2022, 5:57 PMorange-wire-16250
05/13/2022, 5:58 PMorange-wire-16250
05/13/2022, 5:59 PMstrong-intern-84363
05/13/2022, 11:13 PMsarolebinding = gcp.projects.IAMBinding(
f"sa-role-binding-{self.projectName}-owner",
role=self.role,
project=self.project.name,
members=[f"serviceAccount:{self.service_account.email}"],
)
return sarolebinding
This fails with the following error
Request `Set IAM Binding for role "projects/app-burger-nonprod-wzj/roles/projectOwner" on "project \"app-burger-nonprod-wzj\""` returned error: Error applying IAM policy for project "app-burger-nonprod-wzj": Error setting IAM policy for project "app-burger-nonprod-wzj": googleapi: Error 400: Invalid service account (<pulumi.output.Output object at 0x7fbf29648640>)., badRequest
Looks like the service_account.email field is wrong.
How can I refer to the email of the newly created service account and use it as the value of the members arguments ?
Thanks for reading, have a nice day.elegant-architect-38580
05/14/2022, 6:46 AMmake install_provider
and make generate
create nodejs sdk which defines the package in "@<my org>/<package name>". The package.json always builds the package name like this: "name": "@pulumi/xyz"
Is this boilerplate and component package provider in general only for publishing packages to the public registry or is there something I'm missing?future-window-78560
05/15/2022, 4:14 AMfew-yacht-11623
05/15/2022, 2:19 PMindex.ts
file and I’m trying to refactor this into multiple files/directories. However, I’m getting inconsistent import behavior once I split these files into different directories. pulumi preview
will sometime show 0 changes, sometimes it will try to delete my EB environment that’s a few layers of imports deep. I put log statements in my files and it looks like sometimes it doesn’t import the file it’s defined in.
1. Are there any articles/docs on refactoring pulumi programs I can read?
2. Do files need to have an export to be processed for pulumi state? My EB env is just declared as a const
variable without exporting anything, and I’m wondering if that might be part of my issue.
3. Does pulumi cache my input program in any way?sticky-answer-6826
05/16/2022, 9:52 PMpulumi config set aws:allowedAccountIds [0000000]
but I get an error of “zsh: no matches found: [000000]”
pulumi config set aws:allowedAccountIds 000000
works but adds it as a value.acceptable-shoe-64654
05/17/2022, 7:20 AMboundless-queen-72669
05/17/2022, 12:54 PMboundless-queen-72669
05/17/2022, 12:55 PMfancy-eve-82724
05/17/2022, 1:07 PMpulumi login file:///path/to/store
or pulumi login --local
. I use Amazon S3.
See https://www.pulumi.com/docs/reference/cli/pulumi_login/