flat-car-33421
12/08/2020, 10:06 PMlittle-cartoon-10569
12/09/2020, 1:30 AMquiet-agency-98780
12/09/2020, 11:18 AMlittle-cartoon-10569
12/10/2020, 8:36 PMgifted-vase-28337
12/10/2020, 10:06 PMbig-account-56668
12/11/2020, 10:03 AM* filename or s3_* attributes must be set
Is it possible to work around this some how? Note that I need to ignore code updates which happens elsewhere.big-account-56668
12/11/2020, 10:17 AMaws_lambda_function
resource as I've been able to define and use those independent of code. The code is updated separately using the AWS cli and it all seems to work the way I expect.powerful-furniture-83753
12/11/2020, 10:39 AMflat-car-33421
12/12/2020, 12:34 PMcreamy-knife-53051
12/14/2020, 3:04 PMflat-car-33421
12/14/2020, 6:07 PMalert-raincoat-81485
12/14/2020, 8:20 PMrough-oxygen-8318
12/16/2020, 5:17 AMtry/except
blocks inside my python code. Any pattern or suggestion? Thanks.abundant-appointment-96790
12/16/2020, 6:55 AMEventRule.onEvent
doesn’t seem to support customize the payload and only support the default one.
More info:
EventRule -> SQS: you can use new aws.cloudwatch.EventTarget
and it will emit a static JSON to the SQS queue.
When I tried to do the same thing for Lambda, passing the Lambda ARN into aws.cloudwatch.EventTarget
, the Lambda triggered is not created (presumably because EventSourceMapping is not created underneath). The only way to hook an EventRule
to a Lambda is to call: EventRule.onEvent
. But that doesn’t let me configure the payload (code linked in the comment)gifted-yak-28427
12/16/2020, 3:39 PMsnapshot_identifier
and username
defined the username does not get set to what I've defined. It always stays at what was originally in the snapshot. The problem is this results in a replacement loop as pulumi always detects a difference. Anyone know if I'm missing something or are these two not meant to be used together?gentle-account-13294
12/17/2020, 12:43 AMeasyrsa
certificates and keys, said that I have to:
• download the VPN config from the Web console
• Modify the config to add path to the cert and key
• https://prasaddomala.com/2020/04/02/aws-client-vpn-setup-private-access-across-aws-accounts-and-vpcs/
So i tried to dump the cert and key generated using..
# one year
VALID_HOURS = 24 * 365
# read teh CA cert obtained from running
# ./easyrsa init-pki && ./easyrsa build-ca nopass
with open("ca_encoded.pem", "r") as ca_crt:
ca_crt_chain = ca_crt.read().replace("\n", " ")
# TODO: check if we can use this instead of using easy rsa
test_vpn_private_key = tls.PrivateKey("test_vpn", algorithm="RSA")
test_vpn_self_signed_cert = tls.SelfSignedCert(
"test_vpnSelfSignedCert",
key_algorithm="RSA",
private_key_pem=test_vpn_private_key.private_key_pem,
subjects=[
tls.SelfSignedCertSubjectArgs(
common_name="<http://test_vpn.com|test_vpn.com>",
organization="Valo Health",
)
],
validity_period_hours=VALID_HOURS,
allowed_uses=[
"key_encipherment",
"digital_signature",
"server_auth",
"dns_names",
"is_ca_certificate",
],
)
cert_test_vpn = aws.acm.Certificate(
"test_vpn",
private_key=test_vpn_private_key.private_key_pem,
certificate_body=test_vpn_self_signed_cert.cert_pem,
certificate_chain=test_vpn_self_signed_cert.cert_pem,
)
but the certificate chain is not what it should be…alert-raincoat-81485
12/17/2020, 7:04 PMaverage-school-38756
12/21/2020, 4:14 PMbumpy-motorcycle-53357
12/22/2020, 4:47 PMwooden-truck-40033
12/23/2020, 1:09 PMvpcCni
This is to set custom vpc cni for cluster. I am looking to use vpc cni > 1.6.0 defualt pulumi creates 1.6.0hundreds-receptionist-31352
12/23/2020, 8:32 PMsparse-gold-89283
12/23/2020, 11:18 PMbest-lifeguard-91445
01/02/2021, 12:04 AMalert-raincoat-81485
01/05/2021, 11:27 PMpulumi logs
All i see the message is
Collecting logs for stack stack11 since 2021-01-05T13:55:54.000-08:00.
cuddly-smartphone-15267
01/06/2021, 5:09 AMrhythmic-student-36708
01/06/2021, 8:23 PMexport const vpc = new awsx.ec2.Vpc('vpc', {
subnets: [
{ type: 'public' },
{ type: 'public', name: 'test-3' },
{ type: 'private' },
],
numberOfNatGateways: 2
})
But when I check the status of my ESM I see this message under LastProcessingResult
"PROBLEM: Connection error. Please check your event source connection configuration."
After doing some digging and finding articles like https://awsfeed.com/whats-new/compute/using-amazon-msk-as-an-event-source-for-aws-lambda
I'm at a loss for what the issue is
FYI: ingress/egress are both allowing all traffic for the SG, and for the VPC config for both the consumer lambda and the msk cluster I'm using the first 2 subnets
vpcConfig: {
securityGroupIds: [securityGroup.id],
subnetIds: PRIVATE_SUBNETS
}
limited-pager-46264
01/07/2021, 10:01 AMrhythmic-student-36708
01/07/2021, 2:32 PM"PROBLEM: Lambda internal error. Please contact Lambda customer support."
in the LastProcessingResult output for the ESMgifted-terabyte-92288
01/08/2021, 4:12 PMlimited-pager-46264
01/08/2021, 6:48 PMlimited-pager-46264
01/08/2021, 6:48 PMbroad-dog-22463
01/08/2021, 6:49 PMlimited-pager-46264
01/08/2021, 6:50 PM