sparse-intern-71089
02/28/2023, 3:17 PMmillions-addition-49065
02/28/2023, 8:03 PMregister_outputs
does very little for sharing outputs of the Component. As discussed here: https://github.com/pulumi/pulumi/issues/2653. That’s fine and makes sense (kind of lol). My question is, is there actually anything wrong/dangerous with calling pulumi.export(…)
within a Component, instead of in the main program, other than the Component consumer may not actually want that export?kind-jelly-61624
02/28/2023, 11:45 PMnice-rain-32013
02/28/2023, 11:46 PMcool-vr-43155
03/01/2023, 11:55 AMpulumi import
with yaml runtime, then I've created and applied kind: Program
and kind: Stack
with the generated yaml. Pulumi kubernetes operator is trying to re-create the resources instead of detecting it from the provided s3 state.
Pulumi kubernetes operator log:
AlreadyExists: AutoScalingGroup by this name already exists
The security group 'some-sg' already exists for VPC 'vpc-some-id'
"Cluster already exists with name: some-eks-cluster-name"
ResourceAlreadyExistsException: The specified log group already exists
brash-hairdresser-60389
03/01/2023, 1:30 PMjolly-agent-91665
03/01/2023, 4:11 PMpulumi preview
and pulumi up
hang indefinitely and the Pulumi Service shows that the update failed but with no error message.
It seems like some sort of disconnection happens near the end of both preview and up.
Any tips or help?clean-traffic-57578
03/01/2023, 5:30 PMmost-mouse-38002
03/01/2023, 6:45 PMpulumi state delete $urn
when ever I update a secret, Pulumi tells me everything was okay creating a new and deleting the old secret, but every time it only deletes the secret without creating the new one. After removing it from the state it works as expected (until next time I change secrets) https://www.pulumi.com/registry/packages/github/api-docs/actionssecret/white-rain-67342
03/01/2023, 10:52 PMgifted-room-26715
03/02/2023, 12:43 AMpurple-electrician-80135
03/02/2023, 2:08 AMpurple-electrician-80135
03/02/2023, 2:09 AMpurple-electrician-80135
03/02/2023, 2:09 AMclever-fireman-41685
03/02/2023, 5:27 AMpulumi up
? The use case I have is wanting to get a secret that's in the pulumi config to use an playwright tests . But for the life of me can't get it working. when using new pulumi.Config()
it seems to create a new config instead of loading an existing config? And I have no idea how to load the correct stack config programmatically (TypeScript) with code not run via pulumi up
. I've spent the afternoon googling and read docs but havent gotten anywhere appreciate any help/guidance.freezing-activity-93019
03/02/2023, 9:43 AMfreezing-activity-93019
03/02/2023, 9:43 AMmost-mouse-38002
03/02/2023, 10:44 AMbroad-helmet-79436
03/02/2023, 12:02 PMmany-architect-10944
03/02/2023, 2:58 PMUK South
to uksouth
even though the provider was before also configured to uksouth
. Any help here? What can I do?
I tried to export the stack, change the location manually and import it back, but the problem remains. When I refresh the stack, it also returns back to UK South
wooden-greece-50586
03/02/2023, 5:12 PMpulumi new
and the project already exists, will it overwrite this project completely or just update if there are changes, as pulumi up
does?careful-family-14644
03/02/2023, 5:23 PMaloof-queen-92013
03/02/2023, 6:27 PMelegant-dog-76355
03/02/2023, 9:17 PMPulumi.yaml
instead of using the environment variable PULUMI_BACKEND_URL
. Is this correct ? This would have the limitation of having one backend per project
and cannot have one per stack
.
If I only have a backend per project in the Pulumi.yaml
file and that backend is stored in S3
AWS Account 1111111
but each stack
[*dev*|*stage*|*prod*] is per AWS Account `222222`|`3333333`|`4444444` how do I configure `Pulumi`/`Github Actions` to use AWS Account 1111111
for the backend operation but deploy the resources in the case of dev in AWS Account 222222
?
At the moment i have the following in GitHub actions
but this only works if the backend and the resources been deployed are in the same AWS Account:
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1-node16
with:
aws-region: ${{ env.AWS_REGION }}
role-to-assume: ${{ secrets.AWS_DEV_PULUMI_ROLE }}
role-session-name: OIDCSession
- name: Deploy changes to Infra
uses: pulumi/actions@v4
with:
command: up
stack-name: ${{ env.PULUMI_DEV_INFRA_STACK }}
work-dir: ${{ env.PULUMI_DEV_INFRA_CWD }}
env:
PULUMI_CONFIG_PASSPHRASE: ${{ secrets.PULUMI_INFRA_DEV_ACCESS_TOKEN }}
adorable-kite-40606
03/02/2023, 10:11 PMwonderful-library-14534
03/03/2023, 3:42 AMeager-angle-81171
03/03/2023, 8:23 AMwooden-greece-50586
03/03/2023, 4:48 PMpolite-umbrella-11196
03/03/2023, 5:00 PM