Added custom ExternalName logic for rancher2_secret_v2 resource as it did not like the default name or identifier functions. As already mentioned in #12 .
CannotObserveExternalResource", "message": "cannot run refresh: refresh failed: Getting secret V2: Cluster ID and/or Secret V2 ID is nil
Identifier format is based on the terraform import documentation:
Description of your changes
Added custom ExternalName logic for
rancher2_secret_v2
resource as it did not like the default name or identifier functions. As already mentioned in #12 .Identifier format is based on the terraform import documentation:
I have:
make reviewable test
to ensure this PR is ready for review.How has this code been tested
Tested with the example.