diff --git a/config/mrs/config.go b/config/mrs/config.go index c123379e..d92d2241 100644 --- a/config/mrs/config.go +++ b/config/mrs/config.go @@ -12,10 +12,6 @@ func Configure(p *config.Provider) { // flexibleengine_mrs_cluster_v2 // https://registry.terraform.io/providers/FlexibleEngineCloud/flexibleengine/latest/docs/resources/mrs_cluster_v2 p.AddResourceConfigurator("flexibleengine_mrs_cluster_v2", func(r *config.Resource) { - // eip_id - r.References["eip_id"] = config.Reference{ - Type: tools.GenerateType("eip", "EIP"), - } // public_ip r.References["public_ip"] = config.Reference{ Type: tools.GenerateType("eip", "EIP"), @@ -25,13 +21,6 @@ func Configure(p *config.Provider) { r.References["node_key_pair"] = config.Reference{ Type: tools.GenerateType("ecs", "KeyPair"), } - // security_group_ids - r.References["security_group_ids"] = config.Reference{ - Type: tools.GenerateType("vpc", "SecurityGroup"), - Extractor: tools.GenerateExtractor(true, "id"), - SelectorFieldName: "SecurityGroupSelector", - RefFieldName: "SecurityGroupRefs", - } }) // flexibleengine_mrs_job_v2 diff --git a/examples/mrs/cluster_secret.yaml b/examples/mrs/cluster.yaml.secret similarity index 100% rename from examples/mrs/cluster_secret.yaml rename to examples/mrs/cluster.yaml.secret diff --git a/examples/mrs/job.yaml b/examples/mrs/job.yaml deleted file mode 100644 index 900e76d1..00000000 --- a/examples/mrs/job.yaml +++ /dev/null @@ -1,23 +0,0 @@ -apiVersion: mrs.flexibleengine.upbound.io/v1beta1 -kind: Job -metadata: - annotations: - meta.upbound.io/example-id: mrs/v1beta1/job - labels: - testing.upbound.io/example-name: test - name: test -spec: - forProvider: - clusterIdSelector: - matchLabels: - testing.upbound.io/example-name: example - name: ${var.job_name} - parameters: ${var.access_key} ${var.secret_key} 1 s3a://obs-demo-analysis/input - s3a://obs-demo-analysis/output - programParameters: - --class: com.orange.bigdata.spark.examples.DriverBehavior - programPath: ${var.program_path} - type: SparkSubmit - ---- - diff --git a/list-tested.md b/list-tested.md index 9b0fec0f..1b78f33e 100644 --- a/list-tested.md +++ b/list-tested.md @@ -67,13 +67,6 @@ | Backup | :white_check_mark: | | BackupPolicy | :white_check_mark: | -## cse.flexibleengine.upbound.io -| Kind | Tested | -| ---- | ------ | -| Microservice | :x: | -| MicroserviceEngine | :x: | -| MicroserviceInstance | :x: | - ## css.flexibleengine.upbound.io | Kind | Tested | | ---- | ------ | @@ -236,22 +229,13 @@ ## modelarts.flexibleengine.upbound.io | Kind | Tested | | ---- | ------ | -| Dataset | :x: | -| DatasetVersion | :x: | | Dataset | :white_check_mark: | | DatasetVersion | :white_check_mark: | ## mrs.flexibleengine.upbound.io | Kind | Tested | | ---- | ------ | -| Cluster | :x: | -| Job | :x: | - -## mrsd.flexibleengine.upbound.io -| Kind | Tested | -| ---- | ------ | -| Cluster | :x: | -| HybridCluster | :x: | +| Cluster | :white_check_mark: | | Job | :x: | ## nat.flexibleengine.upbound.io