bland-byte-34481
02/05/2021, 12:38 AMpulumi preview
in our Github action we're seeing the following error:
pulumi:providers:aws default_3_26_1 error: no resource plugin 'aws-v3.26.1' found in the workspace or on your $PATH, install the plugin using `pulumi plugin install resource aws v3.26.1`
the stack otherwise runs when using the cli locallyrhythmic-fireman-45324
02/05/2021, 11:29 AMrhythmic-fireman-45324
02/05/2021, 11:31 AMprehistoric-kite-30979
02/05/2021, 7:21 PMalert-raincoat-81485
02/05/2021, 9:47 PMerror: 1 error occurred:
* Error creating LB Target Group: ValidationError: 1 validation error detected: Value 'vpc-012345678abc
' at 'targetGroup.vpcId' failed to satisfy constraint: Member must satisfy regular expression pattern: (?i)vpc-[a-zA-Z0-9]+
status code: 400, request id: bb8f4f52-***
it works when i am using hardcoded vpcid value, but fails while retrieving using dynamic way. Not sure why it’s failing.broad-dog-22463
02/05/2021, 9:52 PMbroad-dog-22463
02/05/2021, 9:52 PMlively-ice-73493
02/06/2021, 1:12 AMwonderful-honey-43446
02/06/2021, 3:18 PMbest-lifeguard-91445
02/07/2021, 4:52 AMerror: 1 error occurred:
* Error putting IAM role policy app-services-instance-sns-write-server-sent-events-8a49b9c: LimitExceeded: Maximum policy size of 10240 bytes exceeded for role ecs-use1-stage-app-services-instance-role-cebf8d5
status code: 409, request id: bd737292-329c-4a82-81e5-7b81da9abc75
The policy document appears to be correct, and does not exceed the byre limit. Any ideas?quaint-guitar-13446
02/08/2021, 8:10 AMcreating
a aws:elastictranscoder:Pipeline
for going on 15 minutes now, which historically takes a second or so. Thoughts?alert-raincoat-81485
02/08/2021, 9:35 PMuser_data = """
#!/bin/bash
set -eux
sudo aws s3 cp s3://<bucket-name>/<script>.sh /tmp/
"""
Instances = aws.ec2.Instance(
instance_name,
ami=ami,
instance_type=size,
subnet_id=subnets[1],
user_data_base64=user_data,
security_groups=[securitygroup]
)
If anyone can help to review!bland-byte-34481
02/08/2021, 11:28 PMerror: pre-step event returned an error: failed to verify snapshot: resource urn:pulumi:dev::<my-stack>::aws:cognito/userPool:UserPool::<my-user-pool> dependency refers to missing resource
proud-art-41399
02/09/2021, 1:55 PMbrief-printer-34348
02/09/2021, 3:52 PMbig-potato-91793
02/09/2021, 3:55 PMaws:autoscaling:Group (resource1):
error: aws:autoscaling/group:Group resource 'resource1' has a problem: Attribute should be a list
big-potato-91793
02/09/2021, 3:55 PMincalculable-engineer-92975
02/09/2021, 4:15 PMmillions-judge-24978
02/09/2021, 6:27 PMpulumi.ComponentResource
is currently deploying in?
The best I can come up with is something like this:
const provider = this.getProvider('aws::') as any;
(provider.region as pulumi.Output<string>).apply(console.log);
However getProvider('aws::')
does not seem to work when the resource is just using the default provider. I mentioned this here as well: https://github.com/pulumi/pulumi/issues/2246big-state-95297
02/09/2021, 7:49 PM"Cannot create cluster 'eks-cluster-eksCluster-ffabc7f' because us-east-1e, the targeted availability zone, does not currently have sufficient capacity to support the cluster. Retry and choose from these availability zones: us-east-1a, us-east-1b, us-east-1c, us-east-1d, us-east-1f"
How can I configure Pulumi to use the AZs in which capacity is available? I don't want to create the cluster in another region for performance concerns.quaint-library-15224
02/10/2021, 1:09 PMhundreds-receptionist-31352
02/10/2021, 1:47 PMclass Vpc {
....
cidr = getCidr() // get a cidr from database
...
const vpc = pulumi.all([cidr]).apply(cidr)=>
{
return new vpcConfig('vpc',{cidr})
}
....
this.vpc=vpc
}
I need to return only type <vpc> ( I could do it without using pulumi.all inside of this class), otherwide I have to use another pulumi.all when using it
const vpc = new Vpc(.....)
pulumi.all([vpc]).apply(vpc) =>
{
new eks.cluster('.....', vpc)
}
is there any way to avoid using too much pulumi.all and get only the object type that I need( <vpc> in this case ) ?
thanks in advancehandsome-army-82617
02/10/2021, 7:27 PMhandsome-army-82617
02/10/2021, 7:27 PMlittle-cartoon-10569
02/11/2021, 3:11 AMaws_ami_ids
data source?gray-book-71287
02/11/2021, 9:56 AMgifted-yak-28427
02/11/2021, 11:34 AMstorage_encrypted
is set to True.
However the new instance does not get encrypted (no errors or warnings) and this results in a replacement loop as pulumi trys to set the storage_encrypted
value on each run.
Am I missing something here or is it not possible to enable encryption in this scenario?gray-book-71287
02/11/2021, 3:10 PMmicroscopic-orange-69417
02/11/2021, 4:49 PMsrc/index.ts(36,43): error TS2339: Property 'names' does not exist on type 'Promise<GetAvailabilityZonesResult>'.
bland-byte-34481
02/12/2021, 12:22 AM