many-psychiatrist-74327
09/01/2020, 12:03 AMpulumi plugin install resource aws v3.2.0
pulumi plugin install resource kubernetes v2.4.3
But sometimes when I then run pulumi up
, pulumi starts installing different versions of the same plugins..
pulumi up
Previewing update (dev):
[resource plugin aws-3.2.1] installing
Downloading plugin: 0 B / 68.86 MiB [----------------------------------] 0.00%
[resource plugin kubernetes-2.5.0] installing
Can I disable that? Where is it configured?chilly-magazine-6129
09/01/2020, 1:10 AMdamp-elephant-82829
09/01/2020, 7:49 AMgcp:projects:Service (EnableServiceUsage):
Step #9 - "Pulumi Create Stack": error: Error when reading or editing Project Service : Request "List Project Services my-project" returned error: Failed to list enabled services for project my-project: googleapi: Error 403: Service Usage API has not been used in project XYZ before or it is disabled. Enable it by visiting XYZ then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry., accessNotConfigured
microscopic-xylophone-85966
09/01/2020, 1:50 PMastonishing-quill-88807
09/01/2020, 2:56 PMdb_config.db_connection = 'postgres://{{db_user}}:{{db_pass}}@{{db_host}}:{{db_port}}/{{db_name}}'
self.db_connection = database.SecretBackendConnection(
f'{db_config.db_name}-database-connection',
opts=resource_opts.merge(ResourceOptions(parent=self.db_mount)),
backend=db_config.mount_point,
verify_connection=db_config.verify_connection,
name=db_config.db_name,
data={
'username': db_config.db_admin_username,
'password': db_config.db_admin_password,
'db_host': db_config.db_host,
'db_port': db_config.db_port,
'db_name': db_config.db_name
},
**{db_config.db_type: {
'connection_url': db_config.db_connection
}}
)
astonishing-quill-88807
09/01/2020, 2:57 PMaddress
attribute of a created RDS instance.sticky-receptionist-53934
09/01/2020, 3:00 PMincalculable-dream-27508
09/01/2020, 3:36 PMlifecycle
which for example could let me specify "*don't* delete this VM when user_data
changes", but the only mentions of it I found are in https://www.pulumi.com/docs/reference/pkg/aws/ec2/launchconfiguration/ which points to https://www.terraform.io/docs/configuration/resources.html. So how does one specify this? (in python, if that makes a difference)victorious-country-25661
09/01/2020, 4:28 PMPreview failed: unable to discover AWS AccessKeyID and/or SecretAccessKey
I'm not being able to fix this issue, I reviewed my .aws/credentials and .pulumi/credentials but no idea.
Any idea?echoing-breakfast-73834
09/01/2020, 6:05 PMhandsome-zebra-11018
09/01/2020, 6:11 PMexport DOCKER_API_VERSION=1.39
However with pulumi, its not working
There is no option to set API version https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/docker/config/
When deploy with pulumi I am getting error
error: Error pinging Docker server: request returned Internal Server Error for API route and version <https://DNS>:PORT/_ping, check if the server supports the requested API version`
I am using below config with pulumi
docker:host: "<tcp://DNS:PORT>
docker:certPath: "valid path to docker-cert"
docker:tlsVerify: 1
docker:apiVersion: 1.39
Any help here?handsome-zebra-11018
09/01/2020, 6:20 PM➜ mta git:(pulumi) ✗ export DOCKER_API_VERSION=1.40
➜ mta git:(pulumi) ✗ docker ps
Error response from daemon: client version 1.40 is too new. Maximum supported API version is 1.39
➜ mta git:(pulumi) ✗
clever-application-33365
09/01/2020, 6:52 PMbillowy-kangaroo-51688
09/01/2020, 6:56 PMaws.apigatewayv2
? I’ve got a pretty simple awsx.apigateway
with only Lambda proxy routes I’d like to migrate to v2narrow-jackal-57645
09/02/2020, 2:36 AMmy_personal_account/project_name/prod
to my_org/project_name/prod
Now I want to switch my local code to the new org stack:
pulumi stack select my_org/project_name/prod
# => error: no stack named 'my_org/prod' found
Is this some kind of bug? Or I have missed any important step here. Many thanks in advancenarrow-jackal-57645
09/02/2020, 5:18 AMlet user = new aws.iam.User("totoro", {
name: "totoro",
});
// force new users to reset their password for the initial sign in
new aws.iam.UserLoginProfile(`login-profile-for-totoro`, {
user: user.name,
passwordResetRequired: true,
pgpKey: `WHY_DO_I_HAVE_TO_PROVIDE_THIS?`
}, {
parent: user,
dependsOn: [user]
})
I am wondering why this resource requires me to use pgpKey
to encrypt/decrypt password (/with Keybase.io) when there is already KMS mechanism provided out of the box by Pulumi.
Many thanks in advance
Reported in https://github.com/pulumi/pulumi-aws/issues/1106great-byte-67992
09/02/2020, 6:06 AMbetter-rainbow-14549
09/02/2020, 8:56 AMripe-russia-4239
09/02/2020, 9:19 AMconfig.require()
calls are throwing an error even though I've passed the project name (and stack name, for that matter) to pulumi.runtime.setMocks()
.billowy-laptop-45963
09/02/2020, 3:48 PMpulumi up -t urn:to:stack
it looks like it performs the update but doesn't actually do anything. Has anyone dealt with this before?sticky-receptionist-53934
09/02/2020, 5:24 PMgifted-vase-28337
09/02/2020, 5:46 PMtall-country-24103
09/02/2020, 6:18 PMpython
sdk? I see that ts
has generateKubeconfig
- https://github.com/pulumi/pulumi-eks/blob/master/nodejs/eks/cluster.ts#L182. But nothing for python. Any ideas?bitter-dentist-28132
09/02/2020, 8:21 PMbitter-dentist-28132
09/02/2020, 8:23 PMsticky-knife-56285
09/03/2020, 7:19 AMkind-mechanic-53546
09/03/2020, 8:33 AMgifted-island-55702
09/03/2020, 1:41 PMhandsome-zebra-11018
09/03/2020, 1:59 PMnew k8s.apps.v1.Deployment{
....
containers: [
{
env: [
{
name: "db_host",
value: config.get("db_host")
}
}
}
Similarly I need to pass env variable to docker container.
new docker.Container("container_name", {
.....
envs: [
]
}
But env
in docker.Container
is list of string and not key /value pair.
Any idea how can I pass env variable with Container?handsome-zebra-11018
09/03/2020, 3:02 PM