sparse-intern-71089
06/21/2023, 11:02 AMcolossal-kilobyte-61996
06/21/2023, 11:21 AM-v 3
and --debug
but I don’t see anything meaningful in the logscolossal-kilobyte-61996
06/21/2023, 11:52 AMcolossal-kilobyte-61996
06/21/2023, 11:56 AMcolossal-kilobyte-61996
06/21/2023, 12:24 PMsalmon-account-74572
06/21/2023, 4:05 PMsalmon-account-74572
06/21/2023, 4:06 PMcolossal-kilobyte-61996
06/21/2023, 4:07 PMcolossal-kilobyte-61996
06/21/2023, 4:32 PMsalmon-account-74572
06/21/2023, 5:05 PMimport * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const config = new pulumi.Config("aws");
const provider = new aws.Provider("aws", {
profile: config.require("profile"),
region: <aws.Region>config.require("region")
// where the below string is the URN of the default provider
}, { aliases: ["urn:pulumi:phil::provider-alias::pulumi:providers:aws::default_5_30_1"] });
// Create an AWS resource (S3 Bucket)
const bucket = new aws.s3.Bucket("my-bucket", {}, { provider: provider });
// Export the name of the bucket
export const bucketName = bucket.id;
The default provider’s URN should be accessible in the Pulumi state, assuming you haven’t already run an update (which I think you were holding on because of the resource replacements). That will give you what you need to put in the alias.colossal-kilobyte-61996
06/21/2023, 5:06 PM_5_30_1
suffix in the alias?salmon-account-74572
06/21/2023, 5:07 PMsalmon-account-74572
06/21/2023, 5:08 PMcolossal-kilobyte-61996
06/21/2023, 5:12 PMpulumi up
, it complained about missing credentials, which further confused me due do the fact that it had worked in the past.colossal-kilobyte-61996
06/21/2023, 5:13 PMnew digitalocean.KubernetesCluster
returns a kubeConfig
that expires after 7 days basically, and when it does, it’s confusing. It;s not something Pulumi can control obviously but a hint about this in the docs is what I would add.colossal-kilobyte-61996
06/21/2023, 5:13 PMsalmon-account-74572
06/21/2023, 5:18 PMcolossal-kilobyte-61996
06/21/2023, 5:23 PMsalmon-account-74572
06/21/2023, 5:24 PMcolossal-kilobyte-61996
06/21/2023, 5:24 PMacceptable-intern-25844
07/01/2023, 4:14 PMcreateTokenKubeconfig
. I’ve specified the alias for the k8s provider, but it still wants to replace everything, here are diff details:
pulumi:pulumi:Stack: (same)
[urn=urn:pulumi:qa.provision::crm::pulumi:pulumi:Stack::crm-qa.provision]
++pulumi:providers:kubernetes: (create-replacement)
[id=a318d097-7f31-40f1-baf7-51a549ebec6f]
[urn=urn:pulumi:qa.provision::crm::pulumi:providers:kubernetes::doks]
enableServerSideApply: "true"
kubeconfig : [secret]
version : "3.24.2"
+-pulumi:providers:kubernetes: (replace)
[id=a318d097-7f31-40f1-baf7-51a549ebec6f]
[urn=urn:pulumi:qa.provision::crm::pulumi:providers:kubernetes::doks]
enableServerSideApply: "true"
kubeconfig : [secret]
version : "3.24.2"
--pulumi:providers:kubernetes: (delete-replaced)
[id=a318d097-7f31-40f1-baf7-51a549ebec6f]
[urn=urn:pulumi:qa.provision::crm::pulumi:providers:kubernetes::doks]
any suggestions on how to deal with this?acceptable-intern-25844
07/01/2023, 4:34 PM