资源编排服务 RFS-CCE.Cluster:blueprint样例

时间:2024-04-18 10:02:52

blueprint样例

tosca_definitions_version: huaweicloud_tosca_version_1_0
inputs:
  availabilityZone:
    default: az1.dc1 
  vpcId:
    default: ba6e4347-99d2-4649-b114-85c28d3d71b0
  subnetId:
    default: 3be61f68-9bfc-41bf-8f5e-66c57122f270  
  clusterFlavor:
    default: cce.s1.small
node_templates:
  cluster:
    type: HuaweiCloud.CCE.Cluster
    properties:
      availabilityZone: {get_input: availabilityZone}
      vpcId: {get_input: vpcId}
      subnetId: {get_input: subnetId}
      flavor: {get_input: clusterFlavor}
outputs:
  cluster_id:
    value: {get_attribute: [cluster, clusterId]}
support.huaweicloud.com/tr-aos/cce-cluster.html