terraform - 在 Terraform 中定义 sagemaker 管道资源

标签 terraform aws-cloudformation amazon-sagemaker

我正在将 CloudFormation 模板重写为 terraform,并且有一个 CF 资源,我不知道 TF 中是否有对应的资源。

CF 资源是 AWS::SageMaker::Pipeline

下面是 template.yaml 的片段

  pipeline:
    Type: AWS::SageMaker::Pipeline
    Properties:
      PipelineName: !Ref pPipelineName
      PipelineDisplayName: !Ref pPipelineName
      PipelineDescription: !Ref pPipelineDescription
      PipelineDefinition:
          PipelineDefinitionBody: !Sub "{\"Version\":\"2020-12-01\",........}}]}"
      RoleArn: !Ref pPipelineRoleArn
      Tags:
            - Key: project
              Value: !Ref pProjectName

有人在 Terraform 中定义了此资源吗?

最佳答案

它尚未正式添加到 Terraform aws 提供程序中。然而,最近 Terraform 中添加了一个可以帮助人们测试不同新功能的提供商,它被称为 AWS 云控制提供商 awscc。 [1] 中给出了如何使用此提供程序的示例。 HashiCorp Learn 上也有教程 [2]。您正在寻找的资源在[3]中给出。


[1] https://registry.terraform.io/providers/hashicorp/awscc

[2] https://learn.hashicorp.com/tutorials/terraform/aws-cloud-control

[3] https://registry.terraform.io/providers/hashicorp/awscc/latest/docs/resources/sagemaker_pipeline

关于terraform - 在 Terraform 中定义 sagemaker 管道资源,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/71051224/

相关文章:

terraform - 在 Terraform 中引用 "for_each"创建的资源实例

azure - 如何使用 Azure 中的 Terraform 创建具有多个协议(protocol)的安全规则?

terraform - 访问 terraform.tfvars 中的 terragrunt 变量

amazon-web-services - Cloudformation 自定义资源创建失败

windows - 更新 Cloudformation 上的 Bootstrap

amazon-web-services - 使用服务目录产品中的 "update"终止 EC2 实例后创建它们

azure - 负载均衡器规则规范所需的映射列表

amazon-web-services - 运行 Sagemaker 笔记本实例并能够关闭选项卡

amazon-web-services - aws sagemaker 用于检测图像中的文本

amazon-sagemaker - 对 SageMaker 端点的推理速率的限制