Skip to content

[BUG] Namespace imports should not alter resource #1516

@matttrach

Description

@matttrach

Describe the bug

The rancher2_namespace resource has code which alters the namespace on Terraform import.

To Reproduce

Import a rancher2_namespace giving a different project_id than the actual namespace.

Actual Result

The provider moves the namespace to the different project.

Expected Result

The provider should error that the information provided in the import resource doesn't match the actual namespace.

Metadata

Metadata

Assignees

Labels

pr-impact/patchThis changes a behavior without users needing to make a change.

Type

No fields configured for Bug.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions