some-art-311
11/26/2019, 7:36 PMOutput<String>
to string
?
for example
const eksClusterName = eksInfra.requireOutput("eksClusterName"); // This line returns Output<string>
pulumi.log.debug(eksClusterName) // How to let this line work?
some-carpenter-53382
11/26/2019, 7:42 PMacceptable-army-69872
11/26/2019, 7:44 PMincalculable-engineer-92975
11/26/2019, 8:40 PMincalculable-engineer-92975
11/26/2019, 8:41 PMclean-engineer-75963
11/27/2019, 12:07 AMcolossal-room-15708
11/27/2019, 1:47 AMfull-dress-10026
11/27/2019, 2:04 AMfull-dress-10026
11/27/2019, 2:34 AMerror: unable to load schema information from the API server: Get <https://F7E1844F423B2899F4D9B934F2EFE568.yl4.us-west-2.eks.amazonaws.com/openapi/v2?timeout=32s>: dial tcp: lookup <http://F7E1844F423B2899F4D9B934F2EFE568.yl4.us-west-2.eks.amazonaws.com|F7E1844F423B2899F4D9B934F2EFE568.yl4.us-west-2.eks.amazonaws.com>: no such host
full-dress-10026
11/27/2019, 2:35 AMfull-dress-10026
11/27/2019, 2:40 AMpulumi state delete urn:pulumi:dev::vm-scaler::kubernetes:<http://helm.sh/v2:Chart$kubernetes:rbac.authorization.k8s.io/v1:ClusterRoleBinding::dd-agent-datadog|helm.sh/v2:Chart$kubernetes:rbac.authorization.k8s.io/v1:ClusterRoleBinding::dd-agent-datadog>
warning: This command will edit your stack's state directly. Confirm? Yes
error: No such resource "urn:pulumi:dev::vm-scaler::kubernetes:<http://helm.sh/v2:Chart:rbac.authorization.k8s.io/v1:ClusterRoleBinding::dd-agent-datadog|helm.sh/v2:Chart:rbac.authorization.k8s.io/v1:ClusterRoleBinding::dd-agent-datadog>" exists in the current state
If I search for urn:pulumi:dev::vm-scaler::kubernetes:<http://helm.sh/v2:chart:rbac.authorization.k8s.io/v1:ClusterRoleBinding::dd-agent-datadog|helm.sh/v2:chart:rbac.authorization.k8s.io/v1:ClusterRoleBinding::dd-agent-datadog>
in my stack's json file, I will find it.full-dress-10026
11/27/2019, 3:06 AMbrainy-microphone-27448
11/27/2019, 1:26 PMVolumeInUse
) when reaattaching existed volume to new instancebroad-finland-69602
11/27/2019, 4:03 PMmillions-judge-24978
11/27/2019, 5:58 PMsteep-printer-55468
11/27/2019, 6:38 PMsteep-printer-55468
11/27/2019, 6:38 PMsteep-printer-55468
11/27/2019, 6:39 PMsteep-printer-55468
11/27/2019, 6:40 PMsteep-printer-55468
11/27/2019, 6:40 PMsteep-printer-55468
11/27/2019, 6:43 PMconst parameter = new aws.ssm.Parameter("SECRET", {
type: "SecureString",
value: config.requireSecret("myPulumiSecret"),
});
const service = new awsx.ecs.FargateService("service", {
cluster,
desiredCount: 2,
taskDefinitionArgs: {
container: {
secrets: [{
name: parameter.name,
valueFrom: parameter.arn, // FAILS, Type 'Output<string>' is not assignable to type 'string'.
}],
},
}
});
steep-printer-55468
11/27/2019, 6:44 PMcurved-zoo-38252
11/27/2019, 10:27 PMpulumi.StackReference
?green-morning-1318
11/27/2019, 10:49 PMsteep-caravan-65104
11/28/2019, 2:05 AMCould not get signed url for stack location
. Pulumi version installed on my mac is v1.6.1
Has anybody encountered such an error before or could give pointers towards recovering from this error? I'm willing to download the state file from the storage bucket and restore the state manually, but can't find any clear directions on how to do so, thanks.
pulumi login --cloud-url <gs://xxx-yyy-zzz>
Logged into Agrim-Macbook-Pro.local as agrim (<gs://xxx-yyy-zzz>)
pulumi refresh
Enter your passphrase to unlock config/secrets
(set PULUMI_CONFIG_PASSPHRASE to remember):
Previewing refresh (experiments):
Resources:
Do you want to perform this refresh?
No resources will be modified as part of this refresh; just your stack's state will be. yes
Refreshing (experiments):
error: Could not get signed url for stack location: blob (key ".pulumi/stacks/experiments.json") (code=Unknown): to use SignedURL, you must call OpenBucket with a valid Options.GoogleAccessID and exactly one of Options.PrivateKey or Options.SignBytes
steep-caravan-65104
11/28/2019, 2:43 AMpulumi stack import --file ~/Downloads/pulumi_history_experiments_experiments-1574820036002431000.checkpoint.json
error: could not deserialize deployment: unexpected end of JSON input
rhythmic-hair-33677
11/28/2019, 4:37 AMhandsome-cat-98152
11/28/2019, 9:46 AMDeplyments
, Services
etc. in a specific namespace
?
Hope this isn't to basic of a questionswift-lunch-74411
11/28/2019, 9:56 AMswift-lunch-74411
11/28/2019, 9:57 AMswift-lunch-74411
11/28/2019, 9:57 AM