-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix snapshot import with hyphened cluster_name #131
Conversation
09daa95
to
b95828a
Compare
Hello @sushilvarma2, could you please validate if the error is still happening? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM w/ a comment we will likely want to add something to all imports if this comes up again.
@@ -166,3 +170,25 @@ func testAccMongoDBAtlasCloudProviderSnapshotConfig(projectID, clusterName, desc | |||
} | |||
`, projectID, clusterName, description, retentionInDays) | |||
} | |||
|
|||
func TestResourceMongoDBAtlasCloudProviderSnapshot_snapshotID(t *testing.T) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a note: If this works well then we'll probably want to add this to all import statements since if the project name has hyphens it would fail with any import that isn't ignoring in value hyphens.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, it would be great to add it to the remaining resources. But I think by the next release because I wouldn't like to break something. 😅
closes #109