AWS Amazon S3 NFS File Share

This page shows how to write Terraform for Amazon S3 NFS File Share and write them securely.

aws_storagegateway_nfs_file_share (Terraform)

The NFS File Share in Amazon S3 can be configured in Terraform with the resource name aws_storagegateway_nfs_file_share. The following sections describe 2 examples of how to use the resource and its parameters.

Example Usage from GitHub

resource "aws_storagegateway_nfs_file_share" "nfs-file" {
  client_list  = [""]
  gateway_arn  =
  location_arn = aws_s3_bucket.bucket.arn
  role_arn     = aws_iam_role.gateway.arn
resource "aws_storagegateway_nfs_file_share" "this" {
  client_list             = var.client_list
  default_storage_class   = var.default_storage_class
  gateway_arn             = var.gateway_arn
  guess_mime_type_enabled = var.guess_mime_type_enabled
  kms_encrypted           = var.kms_encrypted


Explanation in Terraform Registry

Manages an AWS Storage Gateway NFS File Share.

CloudFormation Example

CloudFormation code does not have the related resource.

Frequently asked questions

What is AWS Amazon S3 NFS File Share?

AWS Amazon S3 NFS File Share is a resource for Amazon S3 of Amazon Web Service. Settings can be wrote in Terraform.

Where can I find the example code for the AWS Amazon S3 NFS File Share?

For Terraform, the EASThyeok/soldeskTEAM1 and niveklabs/aws source code examples are useful. See the Terraform Example section for further details.


Scan your IaC problem in 3 minutes for free

You can keep your IaC security for free. No credit card required.