salmon-printer-16080
10/18/2021, 9:52 PMindex.ts
file across multiple projects? I want my structure to look like this:
--Shared:
Index.ts
package.json
--Project_1:
Pulumi.<dev-stack-name>.yaml
Pulumi.<test-stack-name>.yaml
tsconfig.json
--Project_2:
Pulumi.<dev-stack-name>.yaml
Pulumi.<test-stack-name>.yaml
tsconfig.json
I am running my code in a pulumi/pulumi-nodejs:3.11.0
container, and my tsconfig.json
file has the following reference.
"files": [
"../shared/index.ts"
]
Pulumi is failing with the following error, so im assuming that it doesnt like referencing an index outside of the project directory.. error: It looks like the Pulumi SDK has not been installed. Have you run npm install or yarn install?
rapid-raincoat-36492
10/19/2021, 3:21 AMPromise<string>
, like the output from vault.generic.getSecret
, into a provider input, like datadog.Provider
, which only takes string
?great-sunset-355
10/19/2021, 8:29 AMpulumi stack export
preserve order? I wanted to compare 2 outputs and I get way more differences than I expected - many of them seem to be caused by a different order of the resources.ancient-monkey-64322
10/19/2021, 7:39 PMmissing required configuration key "aws:region"
when trying to update a stack where this config is definitely set.
pulumi up
and pulumi destroy
both give a similar output
pulumi destroy -y --show-config
...
Type Name Status Info
pulumi:pulumi:Stack app-petetest **failed** 1 error; 1 message
- └─ aws:ecs:TaskDefinition api **deleting failed** 1 error
Diagnostics:
pulumi:pulumi:Stack (app-petetest):
Configuration:
aws:region: eu-west-1
error: update failed
aws:ecs:TaskDefinition (api):
error: 1 error occurred:
* missing required configuration key "aws:region": The region where AWS operations will take place. Examples are us-east-1, us-west-2, etc.
Set a value using the command `pulumi config set aws:region <value>`.
wonderful-address-62604
10/19/2021, 7:46 PMfresh-wire-95028
10/19/2021, 8:32 PMPromise
as an input
in pulumi?
Example I want to use:
get privateSubnetIds(): Promise<pulumi.Output<string>[]>;
from a `Vpc`:
const vpc = new awsx.ec2.Vpc(..., {
...
});
in a `NetworkAssociation`:
const networkAssociation = new aws.ec2clientvpn.NetworkAssociation(`...`, {
subnetId: vpc.privateSubnetIds[0],
});
fresh-wire-95028
10/19/2021, 9:28 PMpulumi destroy
). Is there a way I can tell pulumi to destroy and ignore if the resource is not found?
aws:ec2:SecurityGroupRule (api-cluster-toli-egress):
error: deleting urn:pulumi:[secret]::accrue-api::awsx:x:ecs:Cluster$awsx:x:ec2:SecurityGroup$awsx:x:ec2:EgressSecurityGroupRule$aws:ec2/securityGroupRule:SecurityGroupRule::api-cluster-[secret]-egress: 1 error occurred:
* couldn't find resource
glamorous-jelly-86558
10/20/2021, 2:35 AMrefined-appointment-5884
10/20/2021, 4:16 AM<s3://foo/project1|s3://foo/project1>
and an other in <s3://foo/project2|s3://foo/project2>
rough-rain-68282
10/20/2021, 5:42 AMrror: 1 error occurred:
[Step 5/7] * [WARN] A duplicate Security Group rule was found on (sg-XXXXXXXXXX). This may be
[18:51:37]
[Step 5/7] a side effect of a now-fixed Terraform issue causing two security groups with
[18:51:37]
[Step 5/7] identical attributes but different source_security_group_ids to overwrite each
[18:51:37]
[Step 5/7] other in the state. See <https://github.com/hashicorp/terraform/pull/2376> for more
[18:51:37]
[Step 5/7] information and instructions for recovery. Error message: the specified rule "peer: XX.XX.XX.XX/XX, UDP, from port: X, to port: XXXX, ALLOW" already exists
swift-australia-96791
10/20/2021, 7:37 AMlemon-garage-82195
10/20/2021, 12:31 PMPreviewing update (obfuscated):
Type Name Plan Info
pulumi:pulumi:Stack obfuscated
+ ├─ LogWorkspaceComponent obfuscated
~ ├─ pulumi:providers:azure-native obfuscated update [diff: ~version]
~ ├─ pulumi:providers:azure-native obfuscated update [diff: ~version]
~ ├─ pulumi:providers:azure-native obfuscated update [diff: ~version]
~ ├─ pulumi:providers:azure-native obfuscated update [diff: ~version]
└─ azuread:index:Group obfuscated 1 error
Resource type azuread:index/group:Group not found
fast-florist-41572
10/20/2021, 1:11 PMfull-artist-27215
10/20/2021, 1:47 PMfreezing-van-87649
10/20/2021, 3:01 PMSend join link
button doesn’t work either.swift-intern-18856
10/20/2021, 3:28 PMComponentResource
to logically group them. However, when I run a preview, the provider wants to delete and create all these resources, even though nothing has changed besides the structure of my code. Am I doing something wrong? Or is there a way to work around this?melodic-car-16900
10/20/2021, 3:38 PMkubectl apply {some-url}
within pulumi/kubernetes?melodic-car-16900
10/20/2021, 3:38 PMmelodic-car-16900
10/20/2021, 3:40 PMmelodic-car-16900
10/20/2021, 3:44 PMmelodic-car-16900
10/20/2021, 3:45 PMmelodic-car-16900
10/20/2021, 3:45 PMcool-egg-852
10/20/2021, 4:13 PMfresh-wire-95028
10/20/2021, 5:17 PMsteep-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 issuesmany-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 issuesbillowy-army-68599
10/21/2021, 1:26 AMmany-dress-54535
10/21/2021, 8:29 AMerror: failed to complete update: renewing lease: [403] The provided update token has expired.
this happens after more than 20 mins in the pipeline