Editing Terraform import
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 11: | Line 11: | ||
* <code>terraform import [[aws_default_subnet]].public_subnet subnet-9d4a7b6c</code> | * <code>terraform import [[aws_default_subnet]].public_subnet subnet-9d4a7b6c</code> | ||
* <code>terraform import [[aws_default_vpc]].default vpc-a01106c2</code> | * <code>terraform import [[aws_default_vpc]].default vpc-a01106c2</code> | ||
− | |||
− | |||
== Errors == | == Errors == | ||
− | * <code>[[ | + | * <code>[[terrform import aws_identitystore_user.testimport testimport]]</code> |
aws_identitystore_user.testimport: Importing from ID "testimport"... | aws_identitystore_user.testimport: Importing from ID "testimport"... | ||
Line 22: | Line 20: | ||
aws_identitystore_user.testimport: Refreshing state... [id=testimport] | aws_identitystore_user.testimport: Refreshing state... [id=testimport] | ||
╷ | ╷ | ||
− | │ Error: reading [[AWS SSO Identity Store User]] (testimport): expected a [[resource id]] in the form: identity-store-id/user-id | + | │ Error: reading [[AWS SSO Identity Store User]] (testimport): expected a [[resource id]] in the form: identity-store- id/user-id |
│ | │ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
│ | │ | ||
╵ | ╵ | ||
Line 52: | Line 37: | ||
* <code>[[terraform apply -refresh-only]]</code> | * <code>[[terraform apply -refresh-only]]</code> | ||
* Cloudformation: <code>[[Cloudformation: --resources-to-import|--resources-to-import]]</code> | * Cloudformation: <code>[[Cloudformation: --resources-to-import|--resources-to-import]]</code> | ||
− | |||
− | |||
== See also == | == See also == | ||
− | |||
* {{tf files}} | * {{tf files}} | ||
+ | * {{terraform cmd}} | ||
[[Category:Terraform]] | [[Category:Terraform]] |
Advertising: