late-balloon-24601
10/29/2024, 5:22 PM.get
), but the import
resource option isn't designed for that use-case. Is there a way to import that resource during my programs initial run without resorting to importing it after the fact?late-balloon-24601
10/29/2024, 5:36 PMid
resource option, I skipped over that when readingrhythmic-secretary-1287
10/29/2024, 9:50 PMlate-balloon-24601
10/30/2024, 9:59 AMthis.clusterLogGroup = new aws.cloudwatch.LogGroup('eks-cluster-log-group', {
name: pulumi.interpolate`/aws/eks/${this.clusterName}/cluster`,
retentionInDays: 14
}, {
parent: this,
dependsOn: this.eks,
id: pulumi.interpolate`/aws/eks/${this.clusterName}/cluster`
})
late-balloon-24601
10/30/2024, 10:00 AMlate-balloon-24601
10/30/2024, 10:02 AMlate-balloon-24601
10/30/2024, 10:52 AMid:
set (and has therefore been imported into state) is the external: true
field in the state. If you remove that field, it simply acts as if Pulumi created it and allows you to modify it.late-balloon-24601
10/30/2024, 11:09 AM