sparse-intern-71089
09/27/2022, 11:42 AMlimited-rainbow-51650
09/27/2022, 12:09 PMa (Python) program with a bunch of imported resources.I’m not sure I understand. If you have a program with a bunch of imported resources, these resources should then be in your state file and
pulumi up
shouldn’t create these a second time. Either your description of “imported resources” is not what we understand of being truly imported resources into the state file, or I am missing something about the current state of your setup.swift-apple-16812
09/27/2022, 12:10 PMswift-apple-16812
09/27/2022, 12:11 PMswift-apple-16812
09/27/2022, 12:14 PMswift-apple-16812
09/27/2022, 12:15 PMlimited-rainbow-51650
09/27/2022, 12:17 PMswift-apple-16812
09/27/2022, 12:17 PMswift-apple-16812
09/27/2022, 12:18 PMlimited-rainbow-51650
09/27/2022, 12:20 PMswift-apple-16812
09/27/2022, 12:21 PMswift-apple-16812
09/27/2022, 12:22 PMswift-apple-16812
09/27/2022, 12:24 PMlimited-rainbow-51650
09/27/2022, 12:24 PMswift-apple-16812
09/27/2022, 12:25 PMswift-apple-16812
09/27/2022, 12:26 PMswift-apple-16812
09/27/2022, 12:27 PMlimited-rainbow-51650
09/27/2022, 12:28 PMlimited-rainbow-51650
09/27/2022, 12:28 PMswift-apple-16812
09/27/2022, 12:28 PMlimited-rainbow-51650
09/27/2022, 12:29 PMpulumi refresh
is for.limited-rainbow-51650
09/27/2022, 12:29 PMechoing-dinner-19531
09/27/2022, 12:29 PMswift-apple-16812
09/27/2022, 12:29 PMswift-apple-16812
09/27/2022, 12:31 PMpulumi refresh
echoing-dinner-19531
09/27/2022, 12:32 PMrefresh
works via IDsechoing-dinner-19531
09/27/2022, 12:32 PMswift-apple-16812
09/27/2022, 12:33 PMswift-apple-16812
09/27/2022, 12:34 PMechoing-dinner-19531
09/27/2022, 12:34 PMdiscover and replace resourcesYeh that's only doable if it's safe to assume that Pulumi is fully managing the entire cloud account. Which is so rarely the case that we haven't put effort into supporting it.
swift-apple-16812
09/27/2022, 12:34 PMswift-apple-16812
09/27/2022, 12:35 PMechoing-dinner-19531
09/27/2022, 12:35 PMswift-apple-16812
09/27/2022, 12:36 PMswift-apple-16812
09/27/2022, 12:36 PMechoing-dinner-19531
09/27/2022, 12:37 PMechoing-dinner-19531
09/27/2022, 12:37 PMswift-apple-16812
09/27/2022, 12:42 PMechoing-dinner-19531
09/27/2022, 12:43 PMpulumi import
is for, to build a statefile for you from existing resources.swift-apple-16812
09/27/2022, 12:44 PMswift-apple-16812
09/27/2022, 12:46 PMswift-apple-16812
09/27/2022, 12:53 PMechoing-dinner-19531
09/27/2022, 12:55 PMpulumi import
can take a JSON file with a list of all the resource:id pairs to import.swift-apple-16812
09/27/2022, 12:56 PMswift-apple-16812
09/27/2022, 12:59 PM