You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following produces a state with two redshift_grant resources having identical id. I think makes it impossible to ever have an import for the redshift_grant resource?
(yeah, it's a little contrived, but imagine it were object_type = "table" instead of schema eventually someone is going to have something like that, even if it does seem like poor naming choices)
Working import for would be really helpful for the process of terraforming an existing database - to validate that the grant resource matches the existing db grants. ie terraform import redshift_grant.mygrant y.table.x
The following produces a state with two
redshift_grant
resources having identicalid
. I think makes it impossible to ever have an import for theredshift_grant
resource?Maybe it could use
.
or-
to join the parts? (invalid name characters https://docs.aws.amazon.com/redshift/latest/dg/r_names.html)(yeah, it's a little contrived, but imagine it were
object_type = "table"
instead ofschema
eventually someone is going to have something like that, even if it does seem like poor naming choices)Working
import
for would be really helpful for the process of terraforming an existing database - to validate that the grant resource matches the existing db grants. ieterraform import redshift_grant.mygrant y.table.x
The text was updated successfully, but these errors were encountered: