Skip to content
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

Cannot use mongodbatlas_maintenance_window - Error provider does not support #145

Closed
hc-danieltiziani opened this issue Feb 21, 2020 · 5 comments

Comments

@hc-danieltiziani
Copy link

Cannot use mongodbatlas_maintenance_window

It gives the following error:

Error: Invalid resource type  on tf/mongodb_atlas_cluster.tf line 39, in resource "mongodbatlas_maintenance_window" "cluster_maintenance_window":
  39: resource "mongodbatlas_maintenance_window" "cluster_maintenance_window" {
The provider provider.mongodbatlas does not support resource type "mongodbatlas_maintenance_window".
resource "mongodbatlas_maintenance_window" "cluster_maintenance_window" {
  project_id  = 'FAKEID'
  day_of_week = 3 # S=1, M=2, T=3, W=4, T=5, F=6, S=7
  hour_of_day = 5 # Hour of the day when you would like the maintenance window to start. This parameter uses the 24-hour clock, where midnight is 0, noon is 12 (Time zone is UTC).
}

Using: terraform-provider-mongodbatlas_v0.4.0_x4

@themantissa
Copy link
Collaborator

@hc-danieltiziani thank you for the report - @PacoDw and @marinsalinas can you please take a look.

@PacoDw
Copy link
Contributor

PacoDw commented Feb 21, 2020

Hello @hc-danieltiziani, I tested it (directly using the download version, with terraform test plugin resource) and It didn't get me that error, are you sure that you are using the current plugin version? Because the above error explains that the current version doesn't have that resource, it's weird because it has it so you shouldn't have that error.

@themantissa
Copy link
Collaborator

@hc-danieltiziani wanted to check in and see if the issue has been resolved or if you are still having issues?

@themantissa
Copy link
Collaborator

Going to assume we are good here and close. Please comment if any issues persist.

@hc-danieltiziani
Copy link
Author

Sorry I was offline, it works just fine. It was some caching issues of the provider with terraform. I upgraded it and now it's using the last one, that works. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants