-
Notifications
You must be signed in to change notification settings - Fork 135
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
Add S3 Credential datasource and resource #291
Add S3 Credential datasource and resource #291
Conversation
About acceptance test, is it possible them like this example? Thanks |
@scraly thanks a lot for the feedback. All the requested changes should be resolved now. |
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.
Thanks for the modifications.
Also, regarding the acceptance tests, can you edit them to be consistent like this example please?
https://github.com/ovh/terraform-provider-ovh/blob/master/ovh/data_cloud_project_database_ip_restrictions_test.go
Thanks
Just to be sure, do you mean renaming the config variable to match the test function, keeping it as a simple string and moving the string formatting in the test function? |
I mean moving the hash function to another file, next to the resource file. |
I'm really sorry I don't see which hash function you are referring to. Apart the naming convention on the config variable and how it's formatted I don't see much difference between these acceptance test functions and the data_cloud_project_database_ip_restrictions_test.go one. |
Sorry, I reviewed two PRs at the same time so my brain have switched :-D. |
Should be all fixed now |
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.
Perfect, thanks :-)
Acceptance tests are well written now and all the tests are in success.
Add the datasources and resource to create and retrieve S3 Credentials (AccessKeyId and SecretAccessKey) required to access S3 buckets. Fixes #285