Skip to content

Commit

Permalink
Add support for Code Engine functions (IBM-Cloud#5596)
Browse files Browse the repository at this point in the history
* Add support for Code Engine functions

* update .secrets.baseline

* remove unnecessary check
  • Loading branch information
jasonpet authored and Ramya-c4 committed Sep 27, 2024
1 parent 205cf7a commit 3d8c00c
Show file tree
Hide file tree
Showing 14 changed files with 2,567 additions and 156 deletions.
44 changes: 40 additions & 4 deletions .secrets.baseline
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"files": "go.mod|go.sum|.*.map|^.secrets.baseline$",
"lines": null
},
"generated_at": "2024-09-10T13:43:43Z",
"generated_at": "2024-09-12T14:29:18Z",
"plugins_used": [
{
"name": "AWSKeyDetector"
Expand Down Expand Up @@ -444,15 +444,15 @@
"hashed_secret": "dc61ac50e6f36d09340d8ca062da1f0d4215004f",
"is_secret": false,
"is_verified": false,
"line_number": 62,
"line_number": 170,
"type": "Secret Keyword",
"verified_result": null
},
{
"hashed_secret": "f4adb76dda1dc36da0e225b8477887a30e7346c9",
"hashed_secret": "470851178a9e3a16c35bc88232c21d04c555e5ca",
"is_secret": false,
"is_verified": false,
"line_number": 131,
"line_number": 242,
"type": "Secret Keyword",
"verified_result": null
}
Expand Down Expand Up @@ -1789,6 +1789,16 @@
"verified_result": null
}
],
"ibm/service/codeengine/data_source_ibm_code_engine_function.go": [
{
"hashed_secret": "b732fb611fd46a38e8667f9972e0cde777fbe37f",
"is_secret": false,
"is_verified": false,
"line_number": 229,
"type": "Secret Keyword",
"verified_result": null
}
],
"ibm/service/codeengine/data_source_ibm_code_engine_job.go": [
{
"hashed_secret": "b732fb611fd46a38e8667f9972e0cde777fbe37f",
Expand Down Expand Up @@ -1871,6 +1881,32 @@
"verified_result": null
}
],
"ibm/service/codeengine/resource_ibm_code_engine_function.go": [
{
"hashed_secret": "b732fb611fd46a38e8667f9972e0cde777fbe37f",
"is_secret": false,
"is_verified": false,
"line_number": 503,
"type": "Secret Keyword",
"verified_result": null
},
{
"hashed_secret": "a99bf28e18370eb20e9cc79a1e7f8c379075f69c",
"is_secret": false,
"is_verified": false,
"line_number": 658,
"type": "Secret Keyword",
"verified_result": null
},
{
"hashed_secret": "b5366a2d2ac98dae978423083f8b09e5cddc705d",
"is_secret": false,
"is_verified": false,
"line_number": 726,
"type": "Secret Keyword",
"verified_result": null
}
],
"ibm/service/codeengine/resource_ibm_code_engine_job.go": [
{
"hashed_secret": "b732fb611fd46a38e8667f9972e0cde777fbe37f",
Expand Down
726 changes: 589 additions & 137 deletions examples/ibm-code-engine/README.md

Large diffs are not rendered by default.

40 changes: 38 additions & 2 deletions examples/ibm-code-engine/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ resource "ibm_code_engine_config_map" "code_engine_config_map_instance" {
}

// Provision code_engine_secret resource instance
resource "ibm_code_engine_secret" "code_engine_secret_generic" {
resource "ibm_code_engine_secret" "code_engine_secret_instance" {
project_id = ibm_code_engine_project.code_engine_project_instance.project_id
name = var.code_engine_secret_name
format = var.code_engine_secret_format
Expand Down Expand Up @@ -83,6 +83,14 @@ resource "ibm_code_engine_secret" "code_engine_secret_service_access" {
}
}

// Provision code_engine_secret resource instance for format tls
resource "ibm_code_engine_secret" "code_engine_secret_tls_instance" {
project_id = ibm_code_engine_project.code_engine_project_instance.project_id
name = var.code_engine_secret_tls_name
format = "tls"
data = local.tls_secret_data
}

// Provision code_engine_binding resource instance
resource "ibm_code_engine_binding" "code_engine_binding_instance" {
project_id = ibm_code_engine_project.code_engine_project_instance.project_id
Expand All @@ -102,7 +110,19 @@ resource "ibm_code_engine_domain_mapping" "code_engine_domain_mapping_instance"
name = ibm_code_engine_app.code_engine_app_instance.name
resource_type = ibm_code_engine_app.code_engine_app_instance.resource_type
}
tls_secret = ibm_code_engine_secret.code_engine_secret_instance.name
tls_secret = ibm_code_engine_secret.code_engine_secret_tls_instance.name

depends_on = [
ibm_code_engine_app.code_engine_app_instance,
]
}

// Provision code_engine_function resource instance
resource "ibm_code_engine_function" "code_engine_function_instance" {
project_id = ibm_code_engine_project.code_engine_project_instance.project_id
name = var.code_engine_function_name
runtime = var.code_engine_function_runtime
code_reference = local.function_code_reference
}

//////////////////
Expand Down Expand Up @@ -154,3 +174,19 @@ data "ibm_code_engine_domain_mapping" "code_engine_domain_mapping_data" {
project_id = data.ibm_code_engine_project.code_engine_project_data.project_id
name = var.code_engine_domain_mapping_name
}

// Create code_engine_function data source
data "ibm_code_engine_function" "code_engine_function_data" {
project_id = data.ibm_code_engine_project.code_engine_project_data.project_id
name = var.code_engine_function_name
}

//////////////////
// Locals
locals {
tls_secret_data = {
tls_key = file(var.code_engine_secret_tls_key_file_path)
tls_cert = file(var.code_engine_secret_tls_crt_file_path)
}
function_code_reference = format("data:text/plain;base64,%s", filebase64(var.code_engine_function_code_reference_file_path))
}
6 changes: 6 additions & 0 deletions examples/ibm-code-engine/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,9 @@ output "ibm_code_engine_domain_mapping" {
value = ibm_code_engine_domain_mapping.code_engine_domain_mapping_instance
description = "code_engine_domain_mapping resource instance"
}
// This allows code_engine_function data to be referenced by other resources and the terraform CLI
// Modify this if only certain data should be exposed
output "ibm_code_engine_function" {
value = ibm_code_engine_function.code_engine_function_instance
description = "code_engine_function resource instance"
}
33 changes: 32 additions & 1 deletion examples/ibm-code-engine/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ variable "code_engine_project_name" {

// Resource arguments for code_engine_app
variable "code_engine_app_image_reference" {
description = "The name of the image that is used for this job. The format is `REGISTRY/NAMESPACE/REPOSITORY:TAG` where `REGISTRY` and `TAG` are optional. If `REGISTRY` is not specified, the default is `docker.io`. If `TAG` is not specified, the default is `latest`. If the image reference points to a registry that requires authentication, make sure to also specify the property `image_secret`."
description = "The name of the image that is used for this app. The format is `REGISTRY/NAMESPACE/REPOSITORY:TAG` where `REGISTRY` and `TAG` are optional. If `REGISTRY` is not specified, the default is `docker.io`. If `TAG` is not specified, the default is `latest`. If the image reference points to a registry that requires authentication, make sure to also specify the property `image_secret`."
type = string
default = "icr.io/codeengine/helloworld"
}
Expand Down Expand Up @@ -125,6 +125,37 @@ variable "code_engine_domain_mapping_name" {
type = string
}

// Resource arguments for code_engine_function
variable "code_engine_function_name" {
description = "The name of the function."
type = string
default = "my-function"
}
variable "code_engine_function_runtime" {
description = "The runtime of the function."
type = string
default = "nodejs-20"
}
variable "code_engine_function_code_reference_file_path" {
description = "The path to a file containing the source code."
type = string
}

// Resource arguments for code_engine_secret with format tls
variable "code_engine_secret_tls_name" {
description = "The name of the tls secret."
type = string
default = "my-tls-secret"
}
variable "code_engine_secret_tls_key_file_path" {
description = "The path to the .key file containing the private key of the TLS certificate."
type = string
}
variable "code_engine_secret_tls_crt_file_path" {
description = "The path to the .crt file containing the signed TLS certificate."
type = string
}

// Data source arguments for code_engine_project
variable "code_engine_project_id" {
description = "The ID of the project."
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ require (
github.com/IBM/appid-management-go-sdk v0.0.0-20210908164609-dd0e0eaf732f
github.com/IBM/cloud-databases-go-sdk v0.7.0
github.com/IBM/cloudant-go-sdk v0.8.0
github.com/IBM/code-engine-go-sdk v0.0.0-20240126185534-a6e054aa01ed
github.com/IBM/code-engine-go-sdk v0.0.0-20240808131715-b9d168602dac
github.com/IBM/container-registry-go-sdk v1.1.0
github.com/IBM/continuous-delivery-go-sdk v1.6.0
github.com/IBM/event-notifications-go-admin-sdk v0.9.0
Expand Down Expand Up @@ -104,7 +104,7 @@ require (
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/gabriel-vasile/mimetype v1.4.3 // indirect
github.com/go-jose/go-jose/v3 v3.0.3 // indirect
github.com/go-logr/logr v1.3.0 // indirect
github.com/go-logr/logr v1.4.1 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/go-openapi/analysis v0.21.5 // indirect
github.com/go-openapi/errors v0.22.0 // indirect
Expand Down
26 changes: 16 additions & 10 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ github.com/IBM/cloud-databases-go-sdk v0.7.0 h1:prvLebKD1kcIk81D6yRhOr/TWp1VQJGL
github.com/IBM/cloud-databases-go-sdk v0.7.0/go.mod h1:JYucI1PdwqbAd8XGdDAchxzxRP7bxOh1zUnseovHKsc=
github.com/IBM/cloudant-go-sdk v0.8.0 h1:XzaqZFy5fm1Q9+iK52X5zRW39SHaahT9pf5SRgVTsTY=
github.com/IBM/cloudant-go-sdk v0.8.0/go.mod h1:zDGBs8ideVtn9MehXbIQNI3852B68BsMtKJvq3iPn/Q=
github.com/IBM/code-engine-go-sdk v0.0.0-20240126185534-a6e054aa01ed h1:X0VrZW5ulbqxbOmy5JoZcH0A+tw80k0/ZmRZz1NqogM=
github.com/IBM/code-engine-go-sdk v0.0.0-20240126185534-a6e054aa01ed/go.mod h1:m4pD/58c6NVzlAFkN3XCYXpmDFmUyTG31ivLy/loyHQ=
github.com/IBM/code-engine-go-sdk v0.0.0-20240808131715-b9d168602dac h1:9Y5TB9Ar2SM6JPr2kM6c9pHSdSuHMDCIcbvTa/hNTj4=
github.com/IBM/code-engine-go-sdk v0.0.0-20240808131715-b9d168602dac/go.mod h1:sy4CocPPaCiS+T1znqVdw83dkoyxSMUFxkksqahUhbY=
github.com/IBM/container-registry-go-sdk v1.1.0 h1:sYyknIod8R4RJZQqAheiduP6wbSTphE9Ag8ho28yXjc=
github.com/IBM/container-registry-go-sdk v1.1.0/go.mod h1:4TwsCnQtVfZ4Vkapy/KPvQBKFc3VOyUZYkwRU4FTPrs=
github.com/IBM/continuous-delivery-go-sdk v1.6.0 h1:eAL/jIWHrDFlWDF+Qd9Y5UN99Pr5Mjd/H/bvTbXUbz4=
Expand Down Expand Up @@ -527,8 +527,9 @@ github.com/go-logr/logr v1.2.0/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbV
github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A=
github.com/go-logr/logr v1.2.3/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A=
github.com/go-logr/logr v1.2.4/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A=
github.com/go-logr/logr v1.3.0 h1:2y3SDp0ZXuc6/cjLSZ+Q3ir+QB9T/iG5yYRXqsagWSY=
github.com/go-logr/logr v1.3.0/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY=
github.com/go-logr/logr v1.4.1 h1:pKouT5E8xu9zeFC39JXRDukb6JFQPXM5p5I91188VAQ=
github.com/go-logr/logr v1.4.1/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY=
github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag=
github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE=
github.com/go-logr/zapr v0.1.0/go.mod h1:tabnROwaDl0UNxkVeFRbY8bwB37GwRv0P8lg6aAiEnk=
Expand Down Expand Up @@ -642,6 +643,8 @@ github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/me
github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg7847qk6SyHyPtNmDHnmrv/HOrqktSC+C9fM+CJOE=
github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 h1:tfuBGBXKqDEevZMzYi5KSi8KkcZtzBcTgAUUtapy0OI=
github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572/go.mod h1:9Pwr4B2jHnOSGXyyzV8ROjYa2ojvAY6HCGYYfMoC3Ls=
github.com/go-task/slim-sprig/v3 v3.0.0 h1:sUs3vkvUymDpBKi3qH1YSqBQk9+9D/8M2mN1vB6EwHI=
github.com/go-task/slim-sprig/v3 v3.0.0/go.mod h1:W848ghGpv3Qj3dhTPRyJypKRiqCdHZiAzKg9hl15HA8=
github.com/go-test/deep v1.0.1/go.mod h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA=
github.com/go-test/deep v1.0.2-0.20181118220953-042da051cf31/go.mod h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA=
github.com/go-test/deep v1.0.2/go.mod h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA=
Expand Down Expand Up @@ -777,8 +780,8 @@ github.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2/go.mod h1:kpwsk12EmLe
github.com/google/pprof v0.0.0-20210122040257-d980be63207e/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
github.com/google/pprof v0.0.0-20210226084205-cbba55b83ad5/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
github.com/google/pprof v0.0.0-20210407192527-94a9f03dee38/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
github.com/google/pprof v0.0.0-20230510103437-eeec1cb781c3 h1:2XF1Vzq06X+inNqgJ9tRnGuw+ZVCB3FazXODD6JE1R8=
github.com/google/pprof v0.0.0-20230510103437-eeec1cb781c3/go.mod h1:79YE0hCXdHag9sBkw2o+N/YnZtTkXi0UT9Nnixa5eYk=
github.com/google/pprof v0.0.0-20240424215950-a892ee059fd6 h1:k7nVchz72niMH6YLQNvHSdIE7iqsQxK1P41mySCvssg=
github.com/google/pprof v0.0.0-20240424215950-a892ee059fd6/go.mod h1:kf6iHlnVGwgKolg33glAes7Yg/8iWP8ukqeldJSO7jw=
github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI=
github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
Expand Down Expand Up @@ -1345,8 +1348,9 @@ github.com/onsi/ginkgo/v2 v2.9.5/go.mod h1:tvAoo1QUJwNEU2ITftXTpR7R1RbCzoZUOs3Ro
github.com/onsi/ginkgo/v2 v2.9.7/go.mod h1:cxrmXWykAwTwhQsJOPfdIDiJ+l2RYq7U8hFU+M/1uw0=
github.com/onsi/ginkgo/v2 v2.11.0/go.mod h1:ZhrRA5XmEE3x3rhlzamx/JJvujdZoJ2uvgI7kR0iZvM=
github.com/onsi/ginkgo/v2 v2.13.0/go.mod h1:TE309ZR8s5FsKKpuB1YAQYBzCaAfUgatB/xlT/ETL/o=
github.com/onsi/ginkgo/v2 v2.15.0 h1:79HwNRBAZHOEwrczrgSOPy+eFTTlIGELKy5as+ClttY=
github.com/onsi/ginkgo/v2 v2.15.0/go.mod h1:HlxMHtYF57y6Dpf+mc5529KKmSq9h2FpCF+/ZkwUxKM=
github.com/onsi/ginkgo/v2 v2.19.0 h1:9Cnnf7UHo57Hy3k6/m5k3dRfGTMXGvxhHFvkDTCTpvA=
github.com/onsi/ginkgo/v2 v2.19.0/go.mod h1:rlwLi9PilAFJ8jCg9UE1QP6VBpd6/xj3SRC0d6TU0To=
github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA=
github.com/onsi/gomega v0.0.0-20190113212917-5533ce8a0da3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY=
github.com/onsi/gomega v1.4.2/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY=
Expand Down Expand Up @@ -1378,8 +1382,8 @@ github.com/onsi/gomega v1.27.8/go.mod h1:2J8vzI/s+2shY9XHRApDkdgPo1TKT7P2u6fXeJK
github.com/onsi/gomega v1.27.10/go.mod h1:RsS8tutOdbdgzbPtzzATp12yT7kM5I5aElG3evPbQ0M=
github.com/onsi/gomega v1.30.0/go.mod h1:9sxs+SwGrKI0+PWe4Fxa9tFQQBG5xSsSbMXOI8PPpoQ=
github.com/onsi/gomega v1.31.1/go.mod h1:y40C95dwAD1Nz36SsEnxvfFe8FFfNxzI5eJ0EYGyAy0=
github.com/onsi/gomega v1.33.1 h1:dsYjIxxSR755MDmKVsaFQTE22ChNBcuuTWgkUDSubOk=
github.com/onsi/gomega v1.33.1/go.mod h1:U4R44UsT+9eLIaYRB2a5qajjtQYn0hauxvRm16AVYg0=
github.com/onsi/gomega v1.34.1 h1:EUMJIKUjM8sKjYbtxQI9A4z2o+rruxnzNvpknOXie6k=
github.com/onsi/gomega v1.34.1/go.mod h1:kU1QgUvBDLXBJq618Xvm2LUX6rSAfRaFRTcdOeDLwwY=
github.com/opencontainers/go-digest v1.0.0-rc1/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s=
github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U=
github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM=
Expand Down Expand Up @@ -1784,6 +1788,8 @@ golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u0
golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4=
golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM=
golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU=
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 h1:2dVuKD2vS7b0QIHQbpyTISPd0LeHDbnYEryqj5Q1ug8=
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56/go.mod h1:M4RDyNAINzryxdtnbRXRL/OHtkFuWGRjvuhBJpk2IlY=
golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js=
golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=
golang.org/x/lint v0.0.0-20180702182130-06c8688daad7/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
Expand Down Expand Up @@ -2189,8 +2195,8 @@ golang.org/x/tools v0.9.3/go.mod h1:owI94Op576fPu3cIGQeHs3joujW/2Oc6MtlxbF5dfNc=
golang.org/x/tools v0.12.0/go.mod h1:Sc0INKfu04TlqNoRA1hgpFZbhYXHPr4V5DzpSBTPqQM=
golang.org/x/tools v0.13.0/go.mod h1:HvlwmtVNQAhOuCjW7xxvovg8wbNq7LwfXh/k7wXUl58=
golang.org/x/tools v0.16.1/go.mod h1:kYVVN6I1mBNoB1OX+noeBjbRk4IUEPa7JJ+TJMEooJ0=
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d h1:vU5i/LfpvrRCpgM/VPfJLg5KjxD3E+hfT1SH+d9zLwg=
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk=
golang.org/x/tools v0.23.0 h1:SGsXPZ+2l4JsgaCKkx+FQ9YZ5XEtA1GZYuoDjenLjvg=
golang.org/x/tools v0.23.0/go.mod h1:pnu6ufv6vQkll6szChhK3C3L/ruaIv5eBeztNG8wtsI=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
Expand Down
3 changes: 3 additions & 0 deletions ibm/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -932,6 +932,7 @@ func Provider() *schema.Provider {
"ibm_code_engine_build": codeengine.DataSourceIbmCodeEngineBuild(),
"ibm_code_engine_config_map": codeengine.DataSourceIbmCodeEngineConfigMap(),
"ibm_code_engine_domain_mapping": codeengine.DataSourceIbmCodeEngineDomainMapping(),
"ibm_code_engine_function": codeengine.DataSourceIbmCodeEngineFunction(),
"ibm_code_engine_job": codeengine.DataSourceIbmCodeEngineJob(),
"ibm_code_engine_project": codeengine.DataSourceIbmCodeEngineProject(),
"ibm_code_engine_secret": codeengine.DataSourceIbmCodeEngineSecret(),
Expand Down Expand Up @@ -1530,6 +1531,7 @@ func Provider() *schema.Provider {
"ibm_code_engine_build": codeengine.ResourceIbmCodeEngineBuild(),
"ibm_code_engine_config_map": codeengine.ResourceIbmCodeEngineConfigMap(),
"ibm_code_engine_domain_mapping": codeengine.ResourceIbmCodeEngineDomainMapping(),
"ibm_code_engine_function": codeengine.ResourceIbmCodeEngineFunction(),
"ibm_code_engine_job": codeengine.ResourceIbmCodeEngineJob(),
"ibm_code_engine_project": codeengine.ResourceIbmCodeEngineProject(),
"ibm_code_engine_secret": codeengine.ResourceIbmCodeEngineSecret(),
Expand Down Expand Up @@ -1985,6 +1987,7 @@ func Validator() validate.ValidatorDict {
"ibm_code_engine_build": codeengine.ResourceIbmCodeEngineBuildValidator(),
"ibm_code_engine_config_map": codeengine.ResourceIbmCodeEngineConfigMapValidator(),
"ibm_code_engine_domain_mapping": codeengine.ResourceIbmCodeEngineDomainMappingValidator(),
"ibm_code_engine_function": codeengine.ResourceIbmCodeEngineFunctionValidator(),
"ibm_code_engine_job": codeengine.ResourceIbmCodeEngineJobValidator(),
"ibm_code_engine_project": codeengine.ResourceIbmCodeEngineProjectValidator(),
"ibm_code_engine_secret": codeengine.ResourceIbmCodeEngineSecretValidator(),
Expand Down
Loading

0 comments on commit 3d8c00c

Please sign in to comment.