mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-12 09:24:24 -05:00
9a62657b80
* terraform-provider: init Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> * terraform-provider: add basic docgen Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> * terraform-provider: fix build steps Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> * terraform-provider: extend build process and docgen Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> * dev-docs: document provider usage Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> * bazel: upload aspect lib mirror Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> * bazel: add docstring to fix linter Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> * terraform-provider: don't try to create lockfiles Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> * bazel: fix shellcheck issues * bazel: separate paths to check * bazel: explain what updating lockfiles means Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> * terraform-provider: fix linter checks Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> --------- Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>
43 lines
1.7 KiB
Python
43 lines
1.7 KiB
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
load("//bazel/go:go_test.bzl", "go_test")
|
|
|
|
go_library(
|
|
name = "provider",
|
|
srcs = [
|
|
"example_data_source.go",
|
|
"example_resource.go",
|
|
"provider.go",
|
|
],
|
|
importpath = "github.com/edgelesssys/constellation/v2/terraform-provider-constellation/internal/provider",
|
|
visibility = ["//terraform-provider-constellation:__subpackages__"],
|
|
deps = [
|
|
"@com_github_hashicorp_terraform_plugin_framework//datasource",
|
|
"@com_github_hashicorp_terraform_plugin_framework//datasource/schema",
|
|
"@com_github_hashicorp_terraform_plugin_framework//path",
|
|
"@com_github_hashicorp_terraform_plugin_framework//provider",
|
|
"@com_github_hashicorp_terraform_plugin_framework//provider/schema",
|
|
"@com_github_hashicorp_terraform_plugin_framework//resource",
|
|
"@com_github_hashicorp_terraform_plugin_framework//resource/schema",
|
|
"@com_github_hashicorp_terraform_plugin_framework//resource/schema/planmodifier",
|
|
"@com_github_hashicorp_terraform_plugin_framework//resource/schema/stringdefault",
|
|
"@com_github_hashicorp_terraform_plugin_framework//resource/schema/stringplanmodifier",
|
|
"@com_github_hashicorp_terraform_plugin_framework//types",
|
|
"@com_github_hashicorp_terraform_plugin_log//tflog",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "provider_test",
|
|
srcs = [
|
|
"example_data_source_test.go",
|
|
"example_resource_test.go",
|
|
"provider_test.go",
|
|
],
|
|
embed = [":provider"],
|
|
deps = [
|
|
"@com_github_hashicorp_terraform_plugin_framework//providerserver",
|
|
"@com_github_hashicorp_terraform_plugin_go//tfprotov6",
|
|
"@com_github_hashicorp_terraform_plugin_testing//helper/resource",
|
|
],
|
|
)
|