Resource: aws_datasync_location_azure_blob

Manages a Microsoft Azure Blob Storage Location within AWS DataSync.

Example Usage

resource "aws_datasync_location_azure_blob" "example" {
  agent_arns          = [aws_datasync_agent.example.arn]
  authentication_type = "SAS"
  container_url       = "https://myaccount.blob.core.windows.net/mycontainer"

  sas_configuration {
    token = "sp=r&st=2023-12-20T14:54:52Z&se=2023-12-20T22:54:52Z&spr=https&sv=2021-06-08&sr=c&sig=aBBKDWQvyuVcTPH9EBp%2FXTI9E%2F%2Fmq171%2BZU178wcwqU%3D"
  }
}

Argument Reference

This resource supports the following arguments:

sas_configuration Argument Reference

Attribute Reference

This resource exports the following attributes in addition to the arguments above:

Import

In Terraform v1.5.0 and later, use an import block to import aws_datasync_location_azure_blob using the Amazon Resource Name (ARN). For example:

import {
  to = aws_datasync_location_azure_blob.example
  id = "arn:aws:datasync:us-east-1:123456789012:location/loc-12345678901234567"
}

Using terraform import, import aws_datasync_location_azure_blob using the Amazon Resource Name (ARN). For example:

% terraform import aws_datasync_location_azure_blob.example arn:aws:datasync:us-east-1:123456789012:location/loc-12345678901234567