Open tracypholmes opened 5 years ago
Thanks @tracypholmes and @mbfrahry for all feedback. Will start working on this soon.
Hey team,
I just wanted to check in on the status of this provider. We have many Terraform users that are looking forward to having this released under the native Terraform ecosystem.
Best, Chris
@akshaykarle I would be happy to provide some assistance here!
Hello! My name is Tracy Holmes and I'm from the Terraform Ecosystem Team. @mbfrahry and I have been reviewing your provider. We've seen some great stuff around your provider, and we're excited to bring it into our ecosystem. There is feedback listed below in order of importance. Use this issue as a "checklist", and if you see a specific issue on one of the resources, please take that feedback and apply it to all resources that show that same issue.
Update: resourceIPWhitelistUpdate
, you are just callingCreate
method. So, you should be able to useUpdate: resourceIPWhitelistCreate
instead.ConflictsWith
.Read
orUpdate
, you'll parse thatid
and use those values to read or delete the resource. Values tend to be retrieved from the config file over the statefile. This is especially true when you are doing ad.Get
and values may have been changed in the configuration file between runs that would affect how a resource is retrieved/modified. This is prevalent throughout.Read
function is hinky. Instead, you can do thisState: schema.ImportStatePassthrough,
Read
function instead ofnil
in theCreate
functionnil
.Required
attributes together at the top of the resource or documentation first, then follow with theOptional
attributes. This is so that a user knows exactly what attributes to pass to get up and running without having to look through all the documentation.status
orstate
can be removed. TF only hasready
andwaiting
so these attrs are not needed. Here's an example.ForceNew: false
can be deleted as it is implied. Here is an example.paused
attribute can be removed as Terraform is not the right tool to manage states.Groups
andprojects
: it's stated in multiple places these are synonymous terms. Is there any reason these can't be combined or condensed into one term?identifier
&id
appear to be the same thing. Could you select one or the other for consistency and ease of use? If these are both needed, could you provide clarification?group
argument.mongodbatlas_container
resource. The same goes for Importing Resources.[travis.yml
file](https://github.com/terraform-providers/terraform-provider-aws/blob/master/.travis.yml) as an example to keep in line with our build processes.