future-nail-59564
01/28/2021, 3:59 PMalert-raincoat-81485
01/29/2021, 1:59 AMraise error_class(parsed_response, operation_name)
botocore.errorfactory.LoadBalancerNotFoundException: An error occurred (LoadBalancerNotFound) when calling the DescribeLoadBalancers operation: Load balancers '[test-lb]' not found
error: an unhandled error occurred: Program exited with non-zero exit code: 1
where i am running load balancer creating api and running boto call to get an ARN of that load balancer as
load_balancer = aws.lb.LoadBalancer( # type: ignore
"Test-LoadBalancer",
name=stacktname + "-lb",
load_balancer_type="network",
internal="true",
subnets=subnets,
enable_deletion_protection=True,
)
nlb_name = stackname + "-lb"
try:
client = boto3.client("elbv2")
except botocore.exceptions.ClientError as error:
raise error
nlb_response = client.describe_load_balancers(Names=[nlb_name])
loadbal_arn = nlb_response["LoadBalancers"][0]["LoadBalancerArn"]
Is there any way to handle this situation in pulumi or exception?quick-traffic-77022
01/29/2021, 12:17 PMTemplate.get
requires both the name and the id, i cannot find a way to verify if a template exists already.
Any ideas?
Thanksaverage-ability-11166
01/29/2021, 1:18 PMhundreds-receptionist-31352
01/29/2021, 1:54 PMsalmon-ghost-86211
01/29/2021, 11:12 PMcreateNodeGroup
function. I changed the desiredCapacity
and then looked at the Details of what pulumi up
wanted to change. I notice the templateBody for the Cloudformation stack has data like this
AWSTemplateFormatVersion: '2010-09-09'
Outputs:
NodeGroup:
Value: !Ref NodeGroup
Resources:
NodeGroup:
Type: AWS::AutoScaling::AutoScalingGroup
Properties:
DesiredCapacity: 7
LaunchConfigurationName: ...
MinSize: 7
MaxSize: 10
VPCZoneIdentifier: [...]
Tags:
...
UpdatePolicy:
AutoScalingRollingUpdate:
MinInstancesInService: '1'
MaxBatchSize: '1'
Some details are redacted with ...
.
My question... how do we change the UpdatePolicy
listed at the bottom? I need MinInstancesInService
to be much higher, but I don't see it as an option to pass when I look at <https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/eks/#NodeGroupOptions>
refined-bear-62276
01/30/2021, 11:52 PMmillions-market-17062
01/31/2021, 10:34 AMpurple-mouse-61376
02/01/2021, 12:57 AMrhythmic-fireman-45324
02/01/2021, 5:10 AMadamant-translator-31969
02/01/2021, 10:09 PMerror configuring Terraform AWS Provider: Error creating AWS session: SharedConfigErr: only one credential type may be specified per profile: source profile, credential source, credential process, web identity token, or sso
Ā when I try to create rds.Instance ...someone could help me?millions-market-17062
02/02/2021, 10:44 AMvictorious-sugar-42620
02/03/2021, 3:59 AMvictorious-sugar-42620
02/03/2021, 3:59 AMAmazonEC2ContainerServiceFullAccess
Ā managed IAM policy is being deprecated on January 29, 2021 in response to a security finding with theĀ iam:passRole
victorious-sugar-42620
02/03/2021, 3:59 AMvictorious-sugar-42620
02/03/2021, 4:00 AMquaint-guitar-13446
02/03/2021, 5:26 AMaws.lambda.CallbackFunction
is there a way to manually include node modules? I want to include a module that contains a binary in one of my functions, but I don't want it to subsequently be included in all other lambda functionsmillions-market-17062
02/03/2021, 9:23 AMsilly-address-30441
02/03/2021, 3:47 PMtf-test-trail
) isn't going to match the bucket name that pulumi picks (foo-<id>
), right? What's the right way to do that? Is there anything like current
that would let me get the bucket name so I can set the policy correctly?silly-address-30441
02/03/2021, 4:07 PMInvalidCloudWatchLogsRoleArnException: You must specify a role ARN as well as a log group.
bitter-dentist-28132
02/03/2021, 4:14 PMproviderCredentialOpts and an AWS provider instance must be set together
i very much want to not configure the auth options for the provider, just like is the case for the default aws providerbitter-dentist-28132
02/03/2021, 4:24 PMfuture-nail-59564
02/03/2021, 8:40 PMaws.ec2.Route
, however I canāt seem to figure the āIDā to feed into the import:
property. For all other types of resources, the ID is always pretty obvious to figure, but routes donāt seem to have an existence of their own outside the route table, they donāt seem to have an ARN, etc⦠So how could I import them? š¤fast-flower-40813
02/03/2021, 10:53 PMmillions-market-17062
02/04/2021, 3:11 PMbest-lifeguard-91445
02/04/2021, 6:44 PMaverage-school-38756
02/04/2021, 6:54 PMpulumi refresh
wants to delete them from my state, while pulumi preview
shows that state matches the code (including import IDs), and isn't trying to create any new ones. Any ideas what's going on here?best-lifeguard-91445
02/04/2021, 8:19 PMexport const evaluateEnvironmentVariables = (services: Services, variables: Map<string, Output<string>>): void => {
for (const service of services) {
for (const envVar of service.environment) {
const envVarName = envVar.name.toString();
const replacementValue = variables.get(envVarName);
if (replacementValue) {
replacementValue.apply(value => {
envVar.value = value; // envVar.value is Input<string>, value is Output<string>
});
}
}
}
};
services.evaluateEnvironmentVariables(allServices, variables);
// Create resource that depends on these updated environment variables (KeyValuePair)
nice-airport-15607
02/04/2021, 8:26 PMConcurrent batches per shard
on a lambdaās DDB trigger? Iām using
new aws.lambda.Permission
to create the trigger for a lambda, but I donāt see options on how to increase the batch sizesā¦adamant-translator-31969
02/04/2021, 9:21 PMError creating EKS Fargate Profile (origination-eks-stgfg:Profile-1): ResourceInUseException: Cannot create Fargate Profile Profile-1 because cluster origination-eks-stgfg currently has Fargate profile Profile-2 in status CREATING