sticky-country-73582
11/22/2021, 4:18 PMCluster
class in pulumi-aws v4.28.0, when trying to add
auto_termination_policy=aws.emr.ClusterAutoTerminationPolicyArgs(
idle_timeout=300,
)
I get the following error -
AttributeError: module 'pulumi_aws.emr' has no attribute 'ClusterAutoTerminationPolicyArgs'
error: an unhandled error occurred: Program exited with non-zero exit code: 1
Is this the right way to use this? I am using pulumi v.3.17.1polite-napkin-90098
11/22/2021, 5:50 PM// Create or lookup a VPC for our cluster.
vpc := ...
So I tried adding the ec2 module to my imports
import {
"<http://github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ec2|github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ec2>"
}
and then
// Look up the Test VPC
vpcid := "vpc-xxxxxxx"
vpc, err := ec2.LookupVpc(ctx, &ec2.LookupVpcArgs{ Id: &vpcid })
if err != nil {
return err
}
in main()
But this doesn't let me get at the vpc.PublicSubnetIds or the vpc.PrivateSubnetIds as they're from the Crosswalk module.
I've had a look but https://www.pulumi.com/docs/guides/crosswalk/aws/vpc/#getting-the-default-vpc only shows me how to get it using the pulumi cli.
Is there a golang awsx module I can load?
Can someone point me in the right direction please?breezy-table-35227
11/22/2021, 7:19 PMenough-animal-75031
11/22/2021, 11:01 PMbrash-airline-37413
11/23/2021, 3:29 AMcolossal-boots-62227
11/23/2021, 8:41 AMaws.secretsmanager.get_secret(name="mySecret").arn
results in several deprecated warnings for attributes which are not being accessedlittle-journalist-4778
11/23/2021, 10:28 AMlively-answer-93856
11/23/2021, 4:06 PM-- aws:ecs/taskDefinition:TaskDefinition (delete-replaced)
output shows old values.swift-pharmacist-99893
11/23/2021, 4:40 PMautomatically unsecret
or do I need to use pulumi.Output.unsecret
?rapid-raincoat-36492
11/23/2021, 9:52 PMmagnificent-lifeguard-15082
11/23/2021, 9:54 PMmost-lighter-95902
11/23/2021, 11:37 PMmost-lighter-95902
11/23/2021, 11:37 PMconst cluster = new eks.Cluster({...})
most-lighter-95902
11/23/2021, 11:37 PMthis.clusterOidcProviderId = cluster.core.oidcProvider?.id
most-lighter-95902
11/23/2021, 11:37 PMthis.eksHash = this.clusterOidcProviderId?.apply(oidcProviderId => oidcProviderId.split('/').slice(-1)[0])
most-lighter-95902
11/23/2021, 11:38 PMhelpful-afternoon-10938
11/24/2021, 4:54 AMpulumi stack --show-urns
witty-honey-13693
11/24/2021, 6:09 AMbulky-policeman-29913
11/24/2021, 2:09 PMnice-shampoo-33014
11/24/2021, 3:27 PMit might use a feature cf2pulumi doesn't support
Diagnostics:
Warning: Resource not supported
Resource "aws-native:appsync:Resolver" is not yet supported by AWS CloudControl API. Code generated for "loguserResolver" is for reference only.
busy-helicopter-97413
11/24/2021, 5:31 PMhigh-holiday-63390
11/24/2021, 6:17 PMbulky-policeman-29913
11/24/2021, 6:33 PMfast-easter-23401
11/24/2021, 7:44 PMrich-cat-16319
11/25/2021, 1:11 AMwitty-honey-13693
11/25/2021, 3:37 AMsteep-beach-52652
11/25/2021, 6:03 AMsteep-beach-52652
11/25/2021, 6:05 AMsteep-beach-52652
11/25/2021, 6:05 AMrapid-soccer-98878
11/25/2021, 7:04 AM