diff --git a/examples/manifests/deployment.yaml b/examples/manifests/deployment.yaml new file mode 100644 index 00000000..42df053a --- /dev/null +++ b/examples/manifests/deployment.yaml @@ -0,0 +1,19 @@ +# This is an example manifest. +# Replace the parameters in referenced manifest groups with your values prior the deployment. +name: mlops-modules +toolchainRegion: us-east-1 +forceDependencyRedeploy: true +groups: + - name: networking + path: examples/manifests/networking-modules.yaml + - name: sagemaker-endpoints + path: examples/manifests/sagemaker-endpoints-modules.yaml +targetAccountMappings: + - alias: primary + accountId: + valueFrom: + envVariable: PRIMARY_ACCOUNT + default: true + regionMappings: + - region: us-east-1 + default: true diff --git a/examples/manifests/networking-modules.yaml b/examples/manifests/networking-modules.yaml new file mode 100644 index 00000000..5116013a --- /dev/null +++ b/examples/manifests/networking-modules.yaml @@ -0,0 +1,6 @@ +name: networking +path: git::https://github.com/awslabs/idf-modules.git//modules/network/basic-cdk?release/1.3.0&depth=1 +targetAccount: primary +parameters: + - name: internet-accessible + value: True \ No newline at end of file diff --git a/examples/manifests/sagemaker-endpoints-modules.yaml b/examples/manifests/sagemaker-endpoints-modules.yaml new file mode 100644 index 00000000..99b9ba9c --- /dev/null +++ b/examples/manifests/sagemaker-endpoints-modules.yaml @@ -0,0 +1,27 @@ +# This is an example manifest group. +# Replace the parameters with the parameters for your model below prior the deployment. +name: example-endpoint +path: modules/sagemaker/sagemaker-endpoint +parameters: + - name: sagemaker_project_id + value: project-1 + - name: sagemaker_project_name + value: project-1 + - name: model_package_arn + value: arn:aws:sagemaker:::model-package//1 + - name: model_bucket_arn + value: arn:aws:s3::: + - name: instance_type + value: ml.m5.large + - name: vpc_id + valueFrom: + moduleMetadata: + group: networking + name: networking + key: VpcId + - name: subnet_ids + valueFrom: + moduleMetadata: + group: networking + name: networking + key: PrivateSubnetIds