steep-toddler-94095
10/20/2021, 5:22 PMpulumi preview
output? Or am I limited to running pulumi preview
within my CI and granting the CI service user read access to my cloud resources and Pulumi state?full-artist-27215
10/20/2021, 5:51 PMpulumi stack
immediately afterward shows the output is still present, and it persists across multiple `pulumi up`s, despite the fact that the underlying resource is long gone. I think I'm going to do some manual surgery on the stack state (using pulumi stack export
and pulumi stack import
), but I'm curious if anybody else has come across this before.bored-activity-40468
10/20/2021, 6:32 PMaws:ec2/mainRouteTableAssociation:MainRouteTableAssociation
or is a matter of figuring out the correct Id to use?flat-appointment-12338
10/20/2021, 7:36 PMfresh-wire-95028
10/20/2021, 7:44 PMComponentResources
for things like creating VPNs, Fargate services, validated certificates, etc. If I wanted to publish them to the registry, how would I do this?many-dress-54535
10/20/2021, 8:11 PMpulumi preview --refresh
on a pulumi stack in azure pipelines
and I am getting this error
refresh error: connection error: desc = "transport: Error while dialing dial tcp 127.0.0.1:40321: connect: connection refused"
any idea about what might cause this? tried running it multiple times and getting the same error,
The odd thing is that running the command locally works without issuesfresh-wire-95028
10/20/2021, 9:41 PMpulumi import
on an existing resource. Say I have an ARN of a resource I manually created: arn:aws:iam::12345:saml-provider/VPN
. How would I import it?brash-sugar-33876
10/21/2021, 7:23 AMlittle-journalist-4778
10/21/2021, 10:23 AMregister_stack_transformation
and is not removed after a single test execution.
I found a workaround to reset the Stack for each test, do you think is good or I'm messing with pulumi internals?
@pytest.fixture(autouse=True)
def pulumi_mocks():
pulumi.runtime.set_mocks(BaseMocks())
yield
pulumi.runtime.settings.ROOT = None
chilly-magazine-4507
10/21/2021, 11:27 AMlblackstone
?chilly-magazine-4507
10/21/2021, 12:01 PMfast-oyster-42706
10/21/2021, 2:28 PMflat-appointment-12338
10/21/2021, 3:03 PMError: Secret outputs cannot be captured by a closure.
fresh-wire-95028
10/21/2021, 4:03 PMaws:iam:SamlProvider (default):
error: Preview failed: unable to delete resource "urn:pulumi:toli::xxx::aws:iam/samlProvider:SamlProvider::default"
as it is currently marked for protection. To unprotect the resource, either remove the `protect` flag from the resource in your Pulumiprogram and run `pulumi up` or use the command:
`pulumi state unprotect urn:pulumi:toli::xxx::aws:iam/samlProvider:SamlProvider::default`
sparse-gold-10561
10/21/2021, 4:53 PMsteep-cartoon-89174
10/21/2021, 5:17 PMsteep-cartoon-89174
10/21/2021, 5:20 PMsquare-car-84996
10/21/2021, 6:40 PMcool-dress-96114
10/21/2021, 9:16 PM<http://github.com/pulumi/pulumi/sdk/v3/go/pulumi.marshalInput({0x18b6000|github.com/pulumi/pulumi/sdk/v3/go/pulumi.marshalInput({0x18b6000>, 0xc0001b08c0}, {0x1a6ec10, 0x181b1a0}, 0x1)
/Users/jordan/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.15.0/go/pulumi/rpc.go:281 +0x27c5
<http://github.com/pulumi/pulumi/sdk/v3/go/pulumi.marshalInput({0x18b6000|github.com/pulumi/pulumi/sdk/v3/go/pulumi.marshalInput({0x18b6000>, 0xc0001b08c0}, {0x1a6ec10, 0x181b1a0}, 0x1)
/Users/jordan/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.15.0/go/pulumi/rpc.go:281 +0x27c5
<http://github.com/pulumi/pulumi/sdk/v3/go/pulumi.marshalInput({0x18b6000|github.com/pulumi/pulumi/sdk/v3/go/pulumi.marshalInput({0x18b6000>, 0xc0001b08c0}, {0x1a6ec10, 0x181b1a0}, 0x1)
/Users/jordan/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.15.0/go/pulumi/rpc.go:281 +0x27c5
<http://github.com/pulumi/pulumi/sdk/v3/go/pulumi.marshalInput({0x18b6000|github.com/pulumi/pulumi/sdk/v3/go/pulumi.marshalInput({0x18b6000>, 0xc0001b08c0}, {0x1a6ec10, 0x181b1a0}, 0x1)
/Users/jordan/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.15.0/go/pulumi/rpc.go:281 +0x27c5
...additional frames elided...
created by <http://github.com/pulumi/pulumi/sdk/v3/go/pulumi.(*Context).registerResource|github.com/pulumi/pulumi/sdk/v3/go/pulumi.(*Context).registerResource>
/Users/jordan/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.15.0/go/pulumi/context.go:773 +0x772
exit status 2
Any ideas would be greatly appreciated as I am not sure how to debug thispolite-portugal-60022
10/21/2021, 10:38 PMuser1@linux1:~/pulumi/project> pulumi import 'gcp:compute/instance:Instance' instance4 "<https://www.googleapis.com/compute/v1/projects/test-gcp-project/zones/us-west1-a/instances/instance4>"
Previewing import (dev)
Type Name Plan Info
+ pulumi:pulumi:Stack proj-dev create 1 error
= └ gcp:compute:Instance instance4 import 7 errors
Diagnostics:
pulumi:pulumi:Stack (proj-dev):
error: preview failed
gcp:compute:Instance (instance4):
error: gcp:compute/instance:Instance resource 'instance4' has a problem: Computed attribute cannot be set. Examine values at 'Instance.NetworkInterfaces[0].Name'.
error: gcp:compute/instance:Instance resource 'instance4' has a problem: Computed attribute cannot be set. Examine values at 'Instance.NetworkInterfaces[0].Ipv6AccessType'.
error: gcp:compute/instance:Instance resource 'instance4' has a problem: expected network_interface.0.nic_type to be one of [GVNIC VIRTIO_NET], got . Examine values at 'Instance.NetworkInterfaces[0].NicType'.
error: gcp:compute/instance:Instance resource 'instance4' has a problem: ConflictsWith: "boot_disk.0.disk_encryption_key_raw": conflicts with boot_disk.0.kms_key_self_link. Examine values at 'Instance.BootDisk.DiskEncryptionKeyRaw'.
error: gcp:compute/instance:Instance resource 'instance4' has a problem: Computed attribute cannot be set. Examine values at 'Instance.BootDisk.DiskEncryptionKeySha256'.
error: gcp:compute/instance:Instance resource 'instance4' has a problem: ConflictsWith: "boot_disk.0.kms_key_self_link": conflicts with boot_disk.0.disk_encryption_key_raw. Examine values at 'Instance.BootDisk.KmsKeySelfLink'.
error: Preview failed: one or more inputs failed to validate
damp-school-17708
10/22/2021, 7:44 AMbland-cat-29878
10/22/2021, 11:54 AMerror: /home/wayne/highstreetly-pulumi/node_modules/@pulumi/pulumi/provider/server.js:424
� coniole.error(`${e}: ${e.stack}`);
bland-cat-29878
10/22/2021, 11:54 AMsparse-student-54516
10/22/2021, 12:14 PMsparse-student-54516
10/22/2021, 12:15 PMdamp-memory-66729
10/22/2021, 3:32 PMRepository
resource but how to deal with the other resources which reference repo by name: BranchDefault
, TeamRepository
, ActionSecret
?miniature-piano-36287
10/22/2021, 4:06 PMnpm library
and the other one is a web service
, either the web service and the npm library have the following Pulumi dependencies:
package.json -> "dependencies"
"@pulumi/aws": "^4.23.0",
"@pulumi/awsx": "^0.32.0",
"@pulumi/pulumi": "^3.0.0",
The web service also dependes of the npm library. When i push changes to AWS with the command pulumi up -y
everything works fine, but when i make a request to the ApiGateway that calls one of the created lambda functions i'm having this error output in Cloudwatch:
Cannot find module '@pulumi/pulumi'
One of the functions in the npm library needs that dependency but i looks like Pulumi is excluding it because regardless the package.json shows that dependency it doesn't appear in node_modules.
Anyone have an idea of what could be happening in that case?
Thank you.rapid-raincoat-36492
10/22/2021, 7:47 PMopts
object around between resources from different pulumi providers. In particular, this issue is challenging because the error messages lead you fixes that don't work.
I noticed that there are currently three issues in pulumi/pulumi
discussing this:
- https://github.com/pulumi/pulumi/issues/7532
- https://github.com/pulumi/pulumi/issues/6293 which is closed, but should not be
- https://github.com/pulumi/pulumi/issues/3393
and there are quite a few related issues that are wrongly attributed to providers misbehaving, such as https://github.com/pulumi/pulumi-vault/issues/129.
Would it make sense to combine all of these issues into a new issue, or maybe to re-open https://github.com/pulumi/pulumi/issues/6293 and to mark the other issues as duplicates? Right now, this was a very difficult issue to track down the root cause of. https://github.com/pulumi/pulumi-vault/issues/129 shows images of what the error messages I was seeing with the node sdkwet-noon-14291
10/22/2021, 10:14 PMpulumi stack init
in that case?orange-policeman-59119
10/22/2021, 11:07 PM