little-library-54601
03/09/2022, 8:44 PMpulumi-resource-azure-native.exe
??
I couldn't figure out why I couldn't rename a folder. Process Explorer found that this .exe was running and in the folder in question. I killed the process, and then I was able to rename the folder.
Just wondering. Thanks.millions-journalist-34868
03/09/2022, 9:32 PMechoing-motherboard-16358
03/09/2022, 9:56 PMversion
command of 3.26.0
is not returning a version number. Since updating to 3.26.0
, Homebrew thinks the version is 0.0.0
and keeps prompting for an update.thankful-coat-47937
03/09/2022, 11:05 PMimport * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
import * as awsx from "@pulumi/awsx";
// Create an ECS cluster explicitly, and give it a name tag.
const vpc = awsx.ec2.Vpc.getDefault();
const cluster = new awsx.ecs.Cluster("cluster", {
vpc,
});
const zone = aws.route53.getZone({ name: "zone." });
// Create a load balancer on port 80 and spin up two instances of Nginx.
const lb = new awsx.lb.ApplicationLoadBalancer("alb");
const httpListener = lb.createListener("http", {
port: 80,
protocol: "HTTP",
defaultAction: {
type: "redirect",
redirect: { protocol: "HTTPS", port: "443", statusCode: "HTTP_301" },
},
});
const httpsListener = lb.createListener("https", {
port: 443,
protocol: "HTTPS",
certificateArn,
});
const record = new aws.route53.Record("api-route", {
zoneId: zone.then((zone) => zone.id),
name,
type: "A",
aliases: [
{
name: lb.loadBalancer.dnsName,
zoneId: lb.loadBalancer.zoneId,
evaluateTargetHealth: false,
},
],
});
const app = new awsx.ecs.FargateService("service", {
cluster,
taskDefinitionArgs: {
containers: {
nginx: {
image: "nginx",
portMappings: [httpsListener]
},
},
},
desiredCount: 2,
});
this makes all the requests go to the target group on port 443, but the target group is a service listening on port 80, so it 502salert-crayon-18838
03/10/2022, 5:19 AMalert-crayon-18838
03/10/2022, 5:19 AMagreeable-terabyte-59853
03/10/2022, 9:35 AMechoing-postman-88590
03/10/2022, 11:48 AMkubernetes.helm.v3.Release
does the same API calls as helm
. So my expectation is that, after a pulumi deployment, I should be able to list the helm deployments with helm list
. Am I wrong? Thankswonderful-twilight-70958
03/10/2022, 1:40 PMquiet-wolf-18467
03/10/2022, 1:53 PMquick-airport-30353
03/10/2022, 2:32 PMthousands-hairdresser-72380
03/10/2022, 2:33 PM[org]/prod
stack for a project never gets deleted (or has some relatively difficult guard against it)?polite-motherboard-91774
03/10/2022, 3:20 PMminiature-piano-36287
03/10/2022, 4:37 PMexport const iotRule = new aws.iot.TopicRule("sampleRule", {
enabled: true,
sqlVersion: "2016-03-23",
sql: config.require("query"),
kinesis: {
streamName: stream.name,
roleArn: role.arn,
partitionKey: '${partitionKey}'
},
errorAction: {
republish: {
topic: 'stage/iot/errors',
roleArn: iotErrorRole.arn,
}
},
})
agreeable-king-2755
03/10/2022, 4:48 PMimport pulumi_docker as docker
I need to follow both below two steps?
Step One:
pulumi plugin install package docker 3.1.0
Step Two:
source venv/bin/activate
pip install pulumi_docker
It's not clear from Lee's message how the automatic thing can happen for Node/Python. He points to a Go script which I can't interpret.brainy-cartoon-38510
03/10/2022, 4:57 PMmysterious-area-77666
03/10/2022, 5:02 PMproud-pizza-80589
03/10/2022, 6:11 PMDiagnostics:
cloudflare:index:Record (staging-upload-1-1cd4):
error: could not validate provider configuration: 1 error occurred:
* invalid value for api_key (API key must only contain characters 0-9 and a-f (all lowercased))
The config is set in the automation api with these values:
'cloudflare:accountId': {
value: config.cloudflareAccountId,
},
'cloudflare:apiKey': {
value: config.cloudflareApiKey,
secret: true,
},
'cloudflare:email': {
value: config.cloudflareEmail,
},
and config.cloudflareApiKey contains the correct key.stale-toothbrush-17048
03/10/2022, 7:04 PMbusy-island-31180
03/10/2022, 9:02 PM// GetOpenIdConnectProvider gets an existing OpenIdConnectProvider resource's state with the given name, ID, and optional
// state properties that are used to uniquely qualify the lookup (nil if not required).
func GetOpenIdConnectProvider(ctx *pulumi.Context,
name string, id pulumi.IDInput, state *OpenIdConnectProviderState, opts ...pulumi.ResourceOption) (*OpenIdConnectProvider, error) {
var resource OpenIdConnectProvider
err := ctx.ReadResource("aws:iam/openIdConnectProvider:OpenIdConnectProvider", name, id, state, &resource, opts...)
if err != nil {
return nil, err
}
return &resource, nil
}
If feels like the state
argument is redundant… since this function requires the resource id
which I’m assuming this would make this unique. What’s the point of the state
arg?busy-island-31180
03/10/2022, 9:03 PMGo
(even though I’m presenting this question from the Go provider)busy-island-31180
03/10/2022, 9:03 PMcrooked-king-6351
03/10/2022, 9:25 PMadorable-waitress-13708
03/11/2022, 9:47 AMadorable-waitress-13708
03/11/2022, 9:47 AMthousands-hairdresser-72380
03/11/2022, 2:09 PMpulumi login
) is getting this error:
could not decrypt configuration value: [400] Message authentication failed
When they run pulumi config --show-secrets
?
Update: I am also getting the same error on my end and I’m an admin for our team.
Steps to reproduce:
1. pulumi stack select ORG/prod
2. pulumi config --show-secrets
rough-oyster-77458
03/11/2022, 2:40 PMpulumi.export()
to export a variable in file1.py
. I'm going to use this variable in file2.py
Is there any way to get this variable in file2.py
?
So far I have found how to import this variable in CLI onlyminiature-piano-36287
03/11/2022, 3:09 PMimport * as aws from '@pulumi/aws'
import * as pulumi from '@pulumi/pulumi'
const failuresBackupBucketName = pulumi.output(
aws.ssm.getParameter({ name: "/s3/bucket/failuresBackup" })
)
export const failuresBackupBucket = aws.s3.getBucket({
bucket: failuresBackupBucketName.value
})
miniature-piano-36287
03/11/2022, 3:09 PMminiature-piano-36287
03/11/2022, 3:10 PMminiature-piano-36287
03/11/2022, 3:10 PMbillowy-army-68599
03/11/2022, 4:29 PMapply()
here to get the value as a string and pass it to getBucket