We've been seeing this: `previously-imported resou...
# general
f
We've been seeing this: `previously-imported resources that still specify an ID may not be replaced; please remove the \`import\` declaration from your program` left and right this week. When we try to import something but guess the properties wrong, we used to get a warning that the input would fail, and it told us which properties to change. But now we just get this error that is incorrectly assuming we've imported the resource before
e
So you'll only get this error if your are specifying an ImportID and you change the properties such that the provider says the resources needs replacing to update the properties. It used to be the engine would ask the provider for the current properties, and if they didn't match what was in the program it would error out. Now the engine will allow the import and then try to do a normal update to get the resource in sync with your program, but if that update requires a replacement you'll see this error "please remove the `import`" instead.
You should see these warnings at preview time. Also if you run into at update time the resource should already be imported and saved into your state file in what ever state it read from the provider as, so you can just remove the importID and run up again.