elegant-printer-13257
12/24/2022, 12:29 AMconst queue = new aws.sqs.Queue(`${project}-${stack}-queue`);
const api = new awsx.apigateway.API(`${project}-${stack}-api`, {
routes: [
{
path: "/{proxy+}",
method: "POST",
eventHandler: async (request, context) => {
const sqs = new AWS.SQS();
sqs.sendMessage({
MessageBody: "hi"
QueueUrl: queue.id,
});
},
},
],
});
victorious-church-57397
12/24/2022, 7:45 PMbillions-accountant-89861
12/26/2022, 6:04 AM<https://github.com/vincentbernat/pulumi-vultr>
but can't install itcreamy-napkin-46533
12/27/2022, 4:21 AMclever-painter-96148
12/27/2022, 8:58 AMmktemp = Command('mktemp', create='mktemp', delete='rm {path}')
white-architect-1595
12/27/2022, 3:36 PMclever-painter-96148
12/27/2022, 8:56 PMswift-whale-7378
12/27/2022, 10:18 PMawsx.ecs.FargateService
does not include a vpcId param, unlike other similar services and it's unclear to me based on documentation. Any advice would be very appreciated!narrow-cpu-35517
12/28/2022, 8:31 AMnice-architect-47483
12/28/2022, 12:25 PM.
βββ application
β βββ Pulumi.dev.yaml
β βββ Pulumi.next.yaml
β βββ Pulumi.prod.yaml
β βββ Pulumi.staging.yaml
β βββ config.ts
β βββ index.ts
βββ infrastructure
β βββ Pulumi.dev.yaml
β βββ Pulumi.next.yaml
β βββ Pulumi.prod.yaml
β βββ Pulumi.staging.yaml
β βββ config.ts
β βββ index.ts
βββ lambda
βββ Pulumi.dev.yaml
βββ Pulumi.next.yaml
βββ Pulumi.prod.yaml
βββ Pulumi.staging.yaml
βββ config.ts
βββ index.ts
dry-tiger-83274
12/28/2022, 8:35 PMup
command to create the environment. However, when more than 10 students access the platform simultaneously, I experience issues. It seems that each Pulumi process consumes approximately 200 MB of memory, causing the server to crash or become slower. Could you provide some suggestions for optimizing the process of creating environments in a parallel manner? It is also important that the environment be created as quickly as possible.
Thank you.refined-pilot-45584
12/29/2022, 1:43 PMquick-airport-30353
12/29/2022, 4:48 PMaverage-ambulance-11866
12/29/2022, 6:39 PMbig-angle-30002
12/30/2022, 4:25 PMingress=[aws.ec2.SecurityGroupIngressArgs(
description="TLS from VPC",
from_port=443,
to_port=443,
protocol="tcp",
cidr_blocks=[aws_vpc["main"]["cidr_block"]],
ipv6_cidr_blocks=[aws_vpc["main"]["ipv6_cidr_block"]],
)]
If I want to have different rules, for example:
ingress=[
{
"description": "https inbound traffic",
"protocol": "tcp",
"from_port": 443,
"to_port": 443,
"security_groups": [securityGroup],
},
{
"description": "http inbound traffic",
"protocol": "tcp",
"from_port": 80,
"to_port": 80,
"security_groups": [securityGroup],
},
],
can I pass several arguments like so many dictionaries in the SecurityGroupIngressArgs function?
ingress=[
aws.ec2.SecurityGroupIngressArgs(
{
"description": "https inbound traffic",
"protocol": "tcp",
"from_port": 443,
"to_port": 443,
"security_groups": [securityGroup],
},
{
"description": "http inbound traffic",
"protocol": "tcp",
"from_port": 80,
"to_port": 80,
"security_groups": [securityGroup],
},
],
)
jolly-keyboard-91231
12/30/2022, 6:02 PMable-pager-43706
12/30/2022, 10:07 PMcreamy-monkey-35142
12/31/2022, 3:54 AMTeamsRuleRuleSettingsL4override
required variable `ip, port`since itβs optional from Cloudflare? and the same for check_session
"rule_settings": {
"add_headers": {},
"biso_admin_controls": {
"dcp": false,
"dcr": false,
"dd": false,
"dk": false,
"dp": false,
"du": false
},
"block_page_enabled": true,
"block_reason": "",
"check_session": null,
"insecure_disable_dnssec_validation": false,
"ip_categories": false,
"l4override": null,
"override_host": "",
"override_ips": null
},
narrow-cpu-35517
12/31/2022, 11:06 AMnew k8s.helm.v3.Release("rds-chart", {
version: "v0.1.2",
namespace: rdsServicesNamespace.metadata["name"],
chart: "<oci://public.ecr.aws/aws-controllers-k8s/rds-chart>",
values: {
region: "us-east-1", // use region from config
serviceAccount: {
name: serviceAccountName,
create: false,
},
vpcId: vpcId,
clusterName: clusterName,
podLabels: {
stack: stackName,
app: "ack-rds-controller",
},
},
},
{
provider,
parent: provider,
})
In my above release config, I have specified region but the pod fails to start with error saying, region not specifiednarrow-cpu-35517
12/31/2022, 11:24 AMbusy-kitchen-1186
01/01/2023, 7:06 AMcreamy-monkey-35142
01/01/2023, 3:54 PMid
of a Cloudflare Access Group from state file by given only resource_name
, following documentation https://www.pulumi.com/registry/packages/cloudflare/api-docs/teamsrule/#look-up and look like id
is required while looking for an existing resourceincalculable-bird-12495
01/02/2023, 9:06 AMmillions-pharmacist-626
01/02/2023, 12:47 PMicy-controller-6092
01/03/2023, 1:27 AMimport Bucket from 'sometool'
const bucket = new Bucket()
export const addObject(key, data) => bucket.addObject(key, data)
millions-camera-30933
01/03/2023, 2:40 AMcreamy-monkey-35142
01/03/2023, 3:25 AMdamp-lamp-30288
01/03/2023, 7:27 AMpreview
a stack that has not been `up`'d before. I'm getting the following error: pulumi:pulumi:Stack test-project *create* error: malformed header: missing HTTP content-type
. I'm using Pulumi TypeScript with AWS (versions below).
Any idea why this could be happening?
CLI version: v3.50.2
@pulumi/aws: 5.25.0
@pulumi/pulumi: 3.50.2
brainy-church-78120
01/03/2023, 1:38 PMrich-branch-48115
01/03/2023, 2:21 PMk8s.Cluster
object from the first program into the second program that creates several virtual clusters inside the cluster from the first program.
My questions are:
β’ Is it possible to share the object as it is?
β’ Is it possible to share my own custom ResourceComponents
?
β’ To implement that I need to have multiple stacks?