bland-byte-34481
08/25/2021, 11:14 PMthousands-area-40147
08/26/2021, 4:42 PMCannot find module '@pulumi/pulumi/runtime/index.js'
error, I guess because @pulumi/...
packages are not included in the Lambda. Any way around this?quiet-architect-91246
08/27/2021, 6:42 AMpulumi config set kafka:bootstrapServers
? Im a little confused since there is very little resources or examples to read regarding kafka.alert-lock-34522
08/27/2021, 8:15 PMVPC Endpoint Subnet Association (an association between a VPC endpoint and a single subnet_id
average-school-38756
08/27/2021, 11:16 PMstream = aws.kinesis.FirehoseDeliveryStream(
'my-stream",
destination="s3",
s3_configuration=aws.kinesis.FirehoseDeliveryStreamS3ConfigurationArgs(
role_arn=my_role.arn,
bucket_arn=data_lake.arn,
cloudwatch_logging_options=aws.kinesis.FirehoseDeliveryStreamS3ConfigurationCloudwatchLoggingOptionsArgs(
enabled=True,
log_group_name=f'aws/kinesisfirehose/{stream.name}', # FIXME: undefined at this point
log_stream_name='S3Delivery'
)
),
)
brash-quill-35776
08/30/2021, 4:22 AMripe-shampoo-80285
08/30/2021, 11:58 PMsparse-state-34229
09/01/2021, 4:32 PMdamp-memory-66729
09/01/2021, 5:55 PMsteep-eve-53618
09/01/2021, 6:30 PMcreamy-knife-93354
09/01/2021, 9:14 PM* error creating Route Table (rtb-041aa78738eeae220) Association: Resource.AlreadyAssociated: the specified association for route table rtb-041aa78738eeae220 conflicts with an existing association
What is the best way to proceed? Seems it's not properly cleaning up the previous resources before applying the new onesquaint-portugal-34880
09/02/2021, 6:04 PMechoing-dinner-49603
09/02/2021, 9:32 PMDnsConfig
? It appears that type
is expected to be HTTP
, HTTPS
, or TCP
, but the code example shows using type A
, and AWS's docs mention the possibility to use SRV
.worried-city-86458
09/03/2021, 4:13 AMnew SecurityGroupRule($"{awsEksPrefix}-1",
new SecurityGroupRuleArgs
{
Type = "ingress",
Protocol = "tcp",
FromPort = 0,
ToPort = 65535,
SourceSecurityGroupId = internalSgId,
SecurityGroupId = clusterSgId
},
new CustomResourceOptions { Provider = awsProvider });
new SecurityGroupRule($"{awsEksPrefix}-2",
new SecurityGroupRuleArgs
{
Type = "ingress",
Protocol = "tcp",
FromPort = 0,
ToPort = 65535,
SourceSecurityGroupId = internetSgId,
SecurityGroupId = clusterSgId
},
new CustomResourceOptions { Provider = awsProvider });
Fails with error:
Duplicate resource URN 'urn:pulumi:alpha::aws-eks::aws:ec2/securityGroupRule:SecurityGroupRule::alpha-aws-eks-2'; try giving it a unique name
But I am specifying unique names!?damp-school-17708
09/03/2021, 8:13 AM'log-router': {
image: 'amazon/aws-for-fluent-bit:latest',
'log-router': {
image: 'amazon/aws-for-fluent-bit:stable',
gray-belgium-81846
09/03/2021, 6:42 PMaws.wafv2.WebAcl
resource. I have some rules
defined like:
{
name: "web-test",
overrideAction: {
count: {},
},
priority: 1,
statement: {
managedRuleGroupStatement: {
excludedRules: [],
name: "AWSManagedRulesCommonRuleSet",
vendorName: "AWS",
},
},
visibilityConfig: {
cloudwatchMetricsEnabled: true,
metricName: "web-test-metrics",
sampledRequestsEnabled: true,
},
}
The resource is created w/o any trouble and seems to work. However, whenever I run pulumi preview
or pulumi up
it thinks the rules are changing, even though I haven’t made changes. Any ideas on how to fix that?quiet-umbrella-96481
09/07/2021, 5:43 AMtrigger
. Maybe I’m missing something in the docs… does anyone have any idea that can help me out here?gray-hamburger-90102
09/07/2021, 10:41 AMcreateOidcProvider
on my cluster resource, but unsure how to translate step 5 of this https://aws.amazon.com/premiumsupport/knowledge-center/eks-alb-ingress-controller-fargate/ into Pulumi
I have found this guide https://www.pulumi.com/blog/kubernetes-ingress-with-aws-alb-ingress-controller-and-pulumi-crosswalk/ but it is not for a fargate cluster, and I assume I do not have an equivalent role to NodeInstanceRole
in fargate?sparse-apartment-71989
09/07/2021, 4:47 PMgentle-judge-65990
09/08/2021, 9:51 AM➜ pulumi import --debug aws:eks/cluster:Cluster xxx xxx
Please choose a stack: xxx
Previewing import (xxx)
View Live: <https://app.pulumi.com/xxx/xxx/previews/xxxxxxx>
Type Name Plan Info
pulumi:pulumi:Stack xxx 1 error; 9 debugs
= └─ aws:eks:Cluster xxxx import 3 errors
Diagnostics:
pulumi:pulumi:Stack (xxx):
debug: AWS Auth provider used: "SharedCredentialsProvider"
debug: AWS Auth provider used: "SharedCredentialsProvider"
debug: AWS Auth provider used: "SharedCredentialsProvider"
debug: Trying to get account information via iam:GetUser
debug: AWS Auth provider used: "SharedCredentialsProvider"
debug: Trying to get account information via iam:GetUser
debug: Truncating attribute path of 0 diagnostics for TypeSet
debug: Truncating attribute path of 0 diagnostics for TypeSet
debug: Truncating attribute path of 0 diagnostics for TypeSet
error: preview failed
aws:eks:Cluster (xxx):
error: aws:eks/cluster:Cluster resource 'xxx' has a problem: Computed attributes cannot be set: Computed attributes cannot be set, but a value was set for "vpc_config.0.vpc_id".. Examine values at 'Cluster.VpcConfig.VpcId'.
error: aws:eks/cluster:Cluster resource 'xxx' has a problem: Computed attributes cannot be set: Computed attributes cannot be set, but a value was set for "vpc_config.0.cluster_security_group_id".. Examine values at 'Cluster.VpcConfig.ClusterSecurityGroupId'.
error: Preview failed: one or more inputs failed to validate
cuddly-smartphone-15267
09/08/2021, 12:15 PMconfig:
aws:region: ap-southeast-2
aws:profile: prod
shared:stackConfig:
regionCode: au
is there a way I can do something like (typescript code)
const config = new Config();
const awsRegion = config.require("aws:region");
When i try to execute the above, i get an error: error: Missing required configuration variable 'shared:aws:region'
worried-city-86458
09/08/2021, 7:18 PMpulumi-awsx
ever going to be made available as a dotnet nuget package?tall-beard-99429
09/09/2021, 10:07 AMbreezy-branch-28232
09/09/2021, 8:32 PMpulumi up
:
error: resource complete event returned an error: failed to verify snapshot: resource urn:pulumi:theNameOfMyResource::awsx:x:ecs:FargateTaskDefinition$aws:ecs/taskDefinition:TaskDefinition: refers to missing resource
This error occured after I’ve runned pulumi cancel
& pulumi stack export | pulumi stack import
. I’ve runned the commands because pulumi was blocked in a pending state.cuddly-smartphone-15267
09/10/2021, 3:00 AMElasticBeanstalk
creates an Environment
, one of the outputs is autoscalingGroups
. I'd like to update the auto scaling group(s) to enable metrics collection. This doesn't appear to be possible in the EBS initialisation options so I think i might need to update it afterwards.
i tried something like this:
const autoScalingGroup = Group.get(`autoscaling`, environment.autoscalingGroups[0]);
autoScalingGroup.enabledMetrics = [`GroupDesiredCapacity`, `GroupInServiceCapacity`, `GroupPendingCapacity`, `GroupMinSize`, `GroupMaxSize`, `GroupInServiceInstances`, `GroupPendingInstances`, `GroupStandbyInstances`, `GroupStandbyCapacity`, `GroupTerminatingCapacity`, `GroupTerminatingInstances`, `GroupTotalCapacity`, `GroupTotalInstances`];
but the property is readonlynumerous-psychiatrist-20856
09/10/2021, 7:57 AMerror: deleting urn:pulumi:dev::ice-online-apollo-pt-imex-adapter::awsx:x:ecs:FargateTaskDefinition$aws:iam/role:Role::role-name: 1 error occurred:
* error deleting IAM Role (role-id): DeleteConflict: Cannot delete entity, must detach all policies first.
status code: 409, request id: d3b77f2a-176a-4d0c-ae6f-03d773f32371
looks like it might be a terraform bug, is there any known workaround or do I need to manually remove it?adorable-rose-78846
09/10/2021, 3:32 PMstraight-pager-11362
09/10/2021, 4:35 PMlimited-dog-75903
09/11/2021, 12:04 PMcold-policeman-81269
09/13/2021, 3:49 PMfunctionResponseTypes
arg, but I cannot pass it to onEvent
, it only exists in the result subscription as an Output<string[] | undefined>.cold-policeman-81269
09/13/2021, 3:49 PMfunctionResponseTypes
arg, but I cannot pass it to onEvent
, it only exists in the result subscription as an Output<string[] | undefined>.