millions-parrot-88279
03/13/2023, 4:57 PMhandsome-secretary-1009
03/13/2023, 7:16 PMastonishing-gpu-28317
03/13/2023, 7:17 PMpulumi up
, despite having been ignored. does anyone know why this might be happening?purple-electrician-80135
03/13/2023, 7:18 PMsparse-gold-10561
03/13/2023, 7:30 PMImages no longer are built during preview, reducing preview time significantly
building the images during preview is a handy feature that <4.0.0 has.. We currently have developers who will manage their dockerfiles and when doing merge request kicks off pulumi preview.. this tests the full build process. With this version 4.0.0, it appears that now they won't know if something is not correct within their Dockerfile until its doing a pulumi up on a merge to main. Is this to be expected? Can we make this configurable option?purple-train-14007
03/13/2023, 10:45 PMbillowy-tomato-42951
03/14/2023, 8:59 AMimportant-gpu-45412
03/14/2023, 12:52 PMmost-soccer-61646
03/14/2023, 2:25 PMacceptable-plumber-31485
03/14/2023, 3:01 PMpurple-electrician-80135
03/14/2023, 8:41 PM__main__.py
"delightful-jelly-17346
03/15/2023, 12:16 AMpulumi
to manage snowflake
resources who had experience of handling this following error:
error: 1 error occurred:
* error creating warehouse err = 001423 (22023): SQL compilation error:
invalid property 'QUERY_ACCELERATION_MAX_SCALE_FACTOR'; feature 'Query Acceleration Service' not enabled
delightful-jelly-17346
03/15/2023, 12:17 AMpulumi_snowflake
implementation. Am I wrong? @some-motherboard-44061delightful-jelly-17346
03/15/2023, 2:02 AMquery_acceleration_max_scale_factor=0
in the pulumi_snowflake.Warehouse
, thanks for your attentionacceptable-plumber-31485
03/15/2023, 1:33 PM.get
api/method from https://www.pulumi.com/registry/packages/aws/api-docs/ec2/securitygroup/ What is provider id? I'm currently on EC2 security group console specifically on the existing sg but I can't figure out what provider is.rough-quill-46540
03/15/2023, 1:49 PMacceptable-plumber-31485
03/15/2023, 1:54 PMinstance = aws.ec2.Instance(
resource_name="my-ec2-instance",
instance_type="t2.micro",
ami="ami-11111111111111",
vpc_security_group_ids=[existing_security_group.id],
)
best-horse-36919
03/15/2023, 3:11 PMstrong-helmet-83704
03/15/2023, 6:06 PME0315 11:04:26.372330 78521 log.go:84] GitHub rate limit exceeded, try again in 11m45.627707s. You can set GITHUB_TOKEN to make an authenticated request with a higher rate limit.
I don’t have experimental mode enabled and not aware of any GH communication that should be occurring at all.acceptable-plumber-31485
03/15/2023, 6:11 PMpulumi up
?
for az in aws.get_availability_zones().names:
server = aws.ec2.Instance(
f"web-server-{az}",
instance_type="t2.micro",
vpc_security_group_ids=[group.id],
ami=ami.id,
user_data="""#!/bin/bash
echo \"Hello, World -- from {}!\" > index.html
nohup python3 -m http.server 80 --bind 0.0.0.0 &
""".format(
az
),
tags={
"Name": "web-server",
},
)
ips.append(server.public_ip)
hostnames.append(server.public_dns)
attachment = aws.lb.TargetGroupAttachment(
f"web-server-{az}",
target_group_arn=target_group.arn,
target_id=server.id,
port=80,
)
brave-motorcycle-67487
03/15/2023, 7:12 PMpulumi config set
? I named one of my projects "aws" and that turns out to conflict with the aws module, so I need to use a different namespace, which is fine. I can do that directly in the yaml file, but it would be convenient to be able to do that via the cli as well - but I don't see anything in the --help
that says I can override that. (I am guessing I'll especially want to know that when I get to setting secrets in configs)acceptable-plumber-31485
03/15/2023, 8:05 PMfierce-school-40904
03/15/2023, 10:16 PMreplace_triggered_by
basically forcing the replacement of a particular ressource if another is replaced. Does anyone know if there is something like that in pulumi?limited-vase-30738
03/15/2023, 10:35 PM// Create a new encryption policy
const analyticsEncryptionPolicy = new aws_native.opensearchserverless.SecurityPolicy("analytics-encryption-policy", {
securityPolicyName: "analytics-encryption-policy",
securityPolicyDescription: "Encryption policy for OpenSearch Serverless",
keyId: "alias/aws/opensearchserverless",
keyType: "AWS_OWNED_KEY",
policy: JSON.stringify({
accessType: "PUBLIC",
Type: "Encryption",
Rules: [
{
ResourceType: "*",
Subject: {
AWS: "*",
},
Effect: "Allow",
Action: "*",
},
],
}),
});
// Create a serverless collection for OpenSearch
const elasticsearchServerless = new aws_native.opensearchserverless.Collection("collection", {
name: "analytics-es-serverless",
description: "Analytics OpenSearch Serverless Collection",
collectionType: "TimeSeries",
encryptionPolicies: [
{
securityPolicyName: analyticsEncryptionPolicy.securityPolicyName,
}
],
networkPolicy: {
accessType: "PUBLIC",
resourceType: ["COLLECTION", "DASHBOARD"],
prefixCollectionNmae: "analytics",
},
dataPolicy: {
policyName: "analytics-data-policy",
rules: [
{
grantedResources: ["index/analytics/*"],
resourceType: "INDEX",
permissions: ["aoss:CreateIndex", "aoss:DeleteIndex", "aoss:UpdateIndex", "aoss:ReadIndex", "aossReadDocument", "aoss:WriteDocument"],
principal: firehoseRole,
}
],
},
});
bitter-carpenter-93554
03/16/2023, 5:35 AMpulumi stack init my-stack \
--secrets-provider="<hashivault://payroll>"
Command above works fine when I set env variable VAULT_TOKEN
. However, id does not work when VAULT_TOKEN
is unset and instead I have token in my ~/.vault-token
.
Is it possible to make pulumi work with ~/.vault-token
?colossal-oil-55366
03/16/2023, 8:27 AMcolossal-oil-55366
03/16/2023, 8:27 AMpulumi
to create kubernetes cluster and then use helm charts to deploy services...colossal-oil-55366
03/16/2023, 8:28 AMvalues.yaml
.colossal-oil-55366
03/16/2023, 8:29 AMpowerful-fall-86307
03/16/2023, 8:47 AM