diff --git a/terraform/state_add.go b/terraform/state_add.go index 033f20614e..8255a3eb4d 100644 --- a/terraform/state_add.go +++ b/terraform/state_add.go @@ -18,15 +18,15 @@ import ( // // The full semantics of Add: // -// ┌───────────────────────┬───────────────────────┬───────────────────────┐ -// │ Module Address │ Resource Address │ Instance Address │ -// ┌───────────────────────┼───────────────────────┼───────────────────────┼───────────────────────┤ -// │ ModuleState │ ✓ │ x │ x │ -// ├───────────────────────┼───────────────────────┼───────────────────────┼───────────────────────┤ -// │ ResourceState │ ✓ │ ✓ │ maybe* │ -// ├───────────────────────┼───────────────────────┼───────────────────────┼───────────────────────┤ -// │ Instance State │ ✓ │ ✓ │ ✓ │ -// └───────────────────────┴───────────────────────┴───────────────────────┴───────────────────────┘ +// ┌───────────────────┬───────────────────┬───────────────────┐ +// │ Module Address │ Resource Address │ Instance Address │ +// ┌─────────────────┼───────────────────┼───────────────────┼───────────────────┤ +// │ ModuleState │ ✓ │ x │ x │ +// ├─────────────────┼───────────────────┼───────────────────┼───────────────────┤ +// │ ResourceState │ ✓ │ ✓ │ maybe* │ +// ├─────────────────┼───────────────────┼───────────────────┼───────────────────┤ +// │ Instance State │ ✓ │ ✓ │ ✓ │ +// └─────────────────┴───────────────────┴───────────────────┴───────────────────┘ // // *maybe - Resources can be added at an instance address only if the resource // represents a single instance (primary). Example: