victorious-dusk-75271
08/20/2022, 2:34 PMstocky-petabyte-29883
08/20/2022, 2:35 PMbig-house-59728
08/20/2022, 6:35 PMvictorious-dusk-75271
08/21/2022, 2:49 PMvictorious-dusk-75271
08/21/2022, 4:49 PMWarning FailedBuildModel 7m11s ingress Failed build model due to AccessDenied: User: arn:aws:sts::256032450122:assumed-role/primary-eks-eks-cluster-instanceRole-role-4a78aea/i-0f132b11c4bc816c1 is not authorized to perform: elasticloadbalancing:DescribeLoadBalancers because no identity-based policy allows the elasticloadbalancing:DescribeLoadBalancers action
icy-controller-6092
08/22/2022, 1:39 AMalert-plumber-27645
08/22/2022, 6:10 PMicy-controller-6092
08/22/2022, 7:00 PM{ provider }
as the third arg)rough-jewelry-85094
08/23/2022, 3:07 PMrapid-portugal-24105
08/23/2022, 5:38 PMsparse-intern-71089
08/23/2022, 7:55 PMadamant-terabyte-3965
08/23/2022, 8:02 PMValue/Route traffic to
field populated with the DNS name of an ALB that is auto-created by an aws-load-balancer-controller
upon detecting the ingress of my application. This breaks down into 2 questions:
1. Is there a way to get the DNS name of the ALB when its created? I know of aws.alb.getLoadBalancer
but that requires the name and ARN of the ALB, so I would need a way to get those.
2. How do I put the DNS name of the ALB into the CNAME record? Looking at the Pulumi docs here https://www.pulumi.com/registry/packages/aws/api-docs/route53/record/ it doesn't seem as though there is a Value
field to populate (though I could be wrong) and the records
field used in the example doesn't actually have any explanation.
Thank you!gentle-zoo-32137
08/24/2022, 11:47 AMvictorious-dusk-75271
08/25/2022, 7:12 AMvictorious-dusk-75271
08/25/2022, 7:12 AMelegant-smartphone-60282
08/25/2022, 12:07 PMpublic_subnets = dis_stack.get_output("public_subnets")
subnets_list = public_subnets.apply(lambda id: id)
but it returns an output object, how can i do that i get a list ?microscopic-intern-16525
08/25/2022, 2:14 PMpulumi up
but I still get the InvalidParameterException: Placement constraints are not supported with FARGATE launch type.
even though the placement constraint is no longer present in my pulumi infrastructure code. Anyone get stuck like this before? any tips on how to fix the deployment?bitter-france-47214
08/25/2022, 5:34 PMaws:cloudfront:Distribution
is failing because of following error:
error creating CloudFront Distribution: InvalidArgument: The parameter Origin DomainName does not refer to a valid S3 bucket. status code: 400, request id: 59...eb1
I assume that this originates to following parts of the arguments:
origins: [
{
originId: contentBucket.arn,
domainName: contentBucket.websiteEndpoint,
s3OriginConfig: {
originAccessIdentity: originAccessIdentity.cloudfrontAccessIdentityPath,
},
},
],
Especially contentBucket.websiteEndpoint
. I assume this is the problem. Pulumi outputs this as <http://myDomain.app.s3-website.eu-central-1.amazonaws.com/>
which works fine so I don't quite know what the problem is. Can anybody help?victorious-dusk-75271
08/25/2022, 7:52 PMDiagnostics:
pulumi:pulumi:Stack (laravel-application-dev):
error: Running program '/home/k1ng/projects/allrites-laravel/devops' failed with an unhandled exception:
/home/k1ng/projects/allrites-laravel/devops/node_modules/@pulumi/aws/s3/routingRules.js:1
b� �s�a7�1��9^��p�%б��!<>�`��k�/`cx���sĶ��� W�u�Z�Wٺn�֪Y�O3M��V*"�.�x,���Y_�{������~�H7��F*�gQW|��bu ��2A1�(�c�(ѪI
SyntaxError: Invalid or unexpected token
at Object.compileFunction (node:vm:353:18)
at wrapSafe (node:internal/modules/cjs/loader:1040:15)
at Module._compile (node:internal/modules/cjs/loader:1076:27)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1166:10)
at Module.load (node:internal/modules/cjs/loader:988:32)
at Function.Module._load (node:internal/modules/cjs/loader:834:12)
at Module.require (node:internal/modules/cjs/loader:1012:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/home/k1ng/projects/allrites-laravel/devops/node_modules/@pulumi/s3/index.ts:43:1)
at Module._compile (node:internal/modules/cjs/loader:1112:14)
helpful-account-44059
08/26/2022, 5:28 AMhelpful-account-44059
08/26/2022, 5:29 AMvictorious-dusk-75271
08/26/2022, 2:09 PMpulumi:pulumi:Stack (laravel-application-eu-dev):
error: Running program '/home/k1ng/projects/allrites-laravel/devops' failed with an unhandled exception:
/home/k1ng/projects/allrites-laravel/devops/node_modules/@pulumi/aws/s3/routingRules.js:1
b� �s�a7�1��9^��p�%б��!<>�`��k�/`cx���sĶ��� W�u�Z�Wٺn�֪Y�O3M��V*"�.�x,���Y_�{������~�H7��F*�gQW|��bu ��2A1�(�c�(ѪIj���E���6b�
SyntaxError: Invalid or unexpected token
at Object.compileFunction (node:vm:353:18)
at wrapSafe (node:internal/modules/cjs/loader:1040:15)
at Module._compile (node:internal/modules/cjs/loader:1076:27)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1166:10)
at Module.load (node:internal/modules/cjs/loader:988:32)
at Function.Module._load (node:internal/modules/cjs/loader:834:12)
at Module.require (node:internal/modules/cjs/loader:1012:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/home/k1ng/projects/allrites-laravel/devops/node_modules/@pulumi/s3/index.ts:43:1)
at Module._compile (node:internal/modules/cjs/loader:1112:14)
strong-helmet-83704
08/26/2022, 5:18 PMretain_on_delete=True
to the ResourceOptions. My understanding was that it would only remove it from the stack and not perform the API call to delete. What part of this flow am i misunderstanding?square-ability-48831
08/26/2022, 7:01 PMerror creating RDS cluster: InvalidParameterCombination: The DB instance and EC2 security group are in different VPCs. The DB instance is in vpc-088d910645c61f340 (Default VPC) and the EC2 security group is in vpc-064aba8b2279cfa50 (my custom Data VPC where I want the cluster to reside)
how do I tell pulumi to put this cluster in my dataVPC and not the default VPC?victorious-dusk-75271
08/26/2022, 7:58 PMvictorious-dusk-75271
08/27/2022, 1:26 AM* [ERR]: Error building changeset: InvalidChangeBatch: [Tried to create resource record set [name='xxxxxxxx.io.', type='CNAME', set-identifier='latency'] but it already exists]
return new aws.route53.Record('admin', {
name: 'admin',
zoneId: zone.then(z => z.zoneId),
type: 'CNAME',
setIdentifier: 'latency',
records: [loadBalancer],
ttl: 60,
latencyRoutingPolicies: [{ region: i.region }]
})
great-library-25724
08/28/2022, 10:05 PMagreeable-scooter-87411
08/29/2022, 8:36 AMaloof-dress-1001
08/29/2022, 10:36 AMsteep-lamp-20408
08/29/2022, 10:43 AMimport pulumi_aws as aws
bucket = aws.s3.BucketV2(
"my-bucket-name",
tags={
"Client": "my-client-name,
"Environment": "my-stack-name",
},
)
b_acl = aws.s3.BucketAclV2("my-bucket-name", bucket=bucket.id, acl="private")
However, the name of the bucket created seems to be “`my-bucket-name-5d70fd9`” instead of “`my-bucket-name"`.
I tried adding resource_name
as a argument to aws.s3.BucketV2
, like the doc suggests, but in that case I got the error __init__() got multiple values for argument 'resource_name'
.
Any idea?