-
Notifications
You must be signed in to change notification settings - Fork 692
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
Count option for oci_file_storage_export.export_options #747
Comments
Thanks for reporting! |
Hi @tyskjohan , It sounds like this will be addressed by Terraform's upcoming v0.12 release which will support things like dynamic nested blocks. See https://www.hashicorp.com/blog/hashicorp-terraform-0-12-preview-for-and-for-each This might allow you to dynamically define multiple nested blocks with different values based on some count or index. Is this what you are looking for? |
Hi @alexng-canuck - That does indeed look promising. I did try to install |
Because the v0.12.0-beta1 isn't ready for production use yet, Terraform plugins that work with it are not yet published in the HashiCorp registry. If you are willing to kick the tires on the beta, you need to download the providers from here: http://terraform-0.12.0-dev-snapshots.s3-website-us-west-2.amazonaws.com/ And install them in your ~/.terraform.d/plugins/ folder. Note that v0.12 will also render some existing language features as incompatible; so you may need to upgrade existing configurations if they are using some syntax that is no longer supported. |
Great, thanks! |
@tyskjohan Closing this issue since this should be addressed when v0.12 comes out. Feel free to reopen the issue if v0.12 still does not address your use case. |
Terraform Version
Terraform v0.11.11
OCI Provider Version
Description:
It would be great if the
export_options
ofoci_file_storage_export
could accept acount
parameter, so that we could automatically create access for a set of instances like so:The text was updated successfully, but these errors were encountered: