bored-terabyte-19735
08/07/2020, 10:43 AMmysql:endpoint
(required) - The address of the MySQL server to use. Most often a "hostname:port" pair, but may also
be an absolute path to a Unix socket when the host OS is Unix-compatible. Can be set via MYSQL_ENDPOINT
environment variable.delightful-controller-41497
08/07/2020, 11:17 AMwet-egg-6347
08/07/2020, 1:55 PMpulumi up
. Is there some way to set Pulumi config values at runtime?bland-lamp-16797
08/07/2020, 7:56 PMconfig:
gcp:project: THIS
gcp:region: europe-west3
How do i get value of gcp:project?
I tried
config = pulumi.Config()
INFRA_PROJECT_ID = config.get_object('gcp')
but it didn't work 😞bland-lamp-16797
08/07/2020, 7:56 PMbest-summer-38252
08/08/2020, 4:18 AMnarrow-jackal-57645
08/08/2020, 8:46 AMorange-electrician-25669
08/08/2020, 8:25 PMorange-electrician-25669
08/08/2020, 8:25 PMorange-electrician-25669
08/08/2020, 8:26 PMorange-electrician-25669
08/08/2020, 8:28 PMtype (
S1LBConfig struct {
LoadBalancer struct {
Rules []struct {
Lb struct {
SecurityGroups []string
Subnets []string
}
}
}
}
)
SecurityGroups: pulumi.StringArray{pulumi.String(s1LoadBalancerConfig.LoadBalancer.Rules[k].Lb.SecurityGroups)},
Cannot convert expression of type '[]string' to type 'String'
orange-electrician-25669
08/08/2020, 8:32 PMimportant-appointment-55126
08/09/2020, 1:41 AMmillions-microphone-64941
08/09/2020, 3:05 AMconst alb = new <http://awsx.lb|awsx.lb>.ApplicationLoadBalancer
• const albTarget = alb.createTargetGroup
, or
• const albListener = albTarget.createListener
.
I'm trying to export the the arn and id from one stack and then use StackReference
to get the arn/id and rebuild the resources so I can use them. But I'm having trouble getting the pulumi name/id of these resources. Please help, thanks!great-park-11393
08/09/2020, 8:24 PMnarrow-jackal-57645
08/10/2020, 7:33 AMPulumi.dev.yaml
and Pulumi.prod.yaml
) I was thinking about digging deep to understand how secrets/non-secrets are set/get then coming up with a new module which extends Config
class. Just want to ask dev team before heading down that rabbit hole.mysterious-easter-19881
08/10/2020, 2:06 PMrefined-teacher-35628
08/10/2020, 9:31 PMrefined-teacher-35628
08/10/2020, 9:31 PMrefined-teacher-35628
08/10/2020, 9:31 PMrefined-teacher-35628
08/10/2020, 9:32 PMrefined-teacher-35628
08/10/2020, 9:33 PMnarrow-jackal-57645
08/11/2020, 3:51 AMapiVersion: v1
data:
appconfig.yml: |-
big_key:
key1: value1
key2: value2
kind: ConfigMap
According to k8s.ConfigMap API, the data
only takes {[key: string]: string}
key-pair type.
Could anyone please point me to a document on how to parse in object instead?narrow-jackal-57645
08/11/2020, 5:58 AM$KUBECONFIG
?astonishing-branch-30086
08/11/2020, 10:12 AMpulumi config set github:token XXXXXXXXXXXXXX --secret
In my Pulumi.stack.yaml configuration file the token is then shown encrypted as expected. However, at least for me, the token shows up as plain text in the stack's state. In the output of pulumi stack export
under the GitHub provider, in both "inputs" and "outputs", the token is shown as plaintext. Can anyone confirm this? Is this intended?
I'm surprised as other secrets that I added to the stack (for example to be used as ActionsSecrets) are encrypted also in the stack export output.gray-lawyer-89054
08/11/2020, 12:16 PMPulumi.example-env.yaml
stack file which causes 400 Unauthorized and Pulumi.example-cp.yaml is not created. @broad-dog-22463 Do you know more about it?rich-easter-89163
08/11/2020, 4:31 PMabundant-honey-47503
08/11/2020, 5:18 PMError 66
/ failed to pick subchannel
when trying to run pulumi up against this python example. I'm using version 2.8.2 on Windows 10. Any ideas as to what could be wrong?sparse-winter-38469
08/11/2020, 6:50 PMmillions-microphone-64941
08/12/2020, 5:44 AMfoundation
project that sets up long living resources like VPC and Db, and an application
project that builds on top of the foundation resources and creates the instances and etc.
The problem I'm coming across is regarding the depth of hydration that the available methods of migrating resources have. For example when I recreate a VPC using new awsx.ec2.Vpc('name', vpc: existingVPC)
and then try to use that vpc for new <http://awsx.lb|awsx.lb>.ApplicationLoadBalancer
I get a failure about ALB requiring two subnets. This problem doesn't occur when I'm doing the same without splitting them into two different projects.
Am I missing some easier way to rehydrate the objects so I can use them? Or is this just a really hard problem to solve?