diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..1f65b1e --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,2 @@ +# Primary owner should be listed first in list of global owners, followed by any secondary owners +* @SirSpidey @ocofaigh diff --git a/.github/settings.yml b/.github/settings.yml new file mode 100644 index 0000000..ac4614b --- /dev/null +++ b/.github/settings.yml @@ -0,0 +1,28 @@ +# The settings are inherited from common repository repo-settings (same file name and location) +# You can append settings that are deeply merged with the inherited settings. +# +# When you have installed the GitHub App "repo-settings" in this repository, +# any change of this settings.yml file is detected by the GitHub App and +# the settings of this repository are updated immediately. +# +_extends: repo-settings:.github/stack-settings.yml + +# repo-specific settings +# +repository: + # See https://terraform-ibm-modules.github.io/documentation/#/implementation-guidelines?id=module-names-and-descriptions + + # By changing this field, you rename the repository. + + # Uncomment this name property and set the name to the current repo name. + # name: "" + + # The description is displayed under the repository name on the + # organization page and in the 'About' section of the repository. + + # Uncomment this description property + # and update the description to the current repo description. + # description: "" + + # Use a comma-separated list of topics to set on the repo (ensure not to use any caps in the topic string). + topics: terraform, ibm-cloud, terraform-stack, ibm-cloud-stack diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..6de81fa --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1 @@ +# TODO: Add CI workflow diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..2bc3a61 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "common-dev-assets"] + path = common-dev-assets + url = git@github.com:terraform-ibm-modules/common-dev-assets.git diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 120000 index 0000000..60ecfd7 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1 @@ +common-dev-assets/stack-assets/.pre-commit-config.yaml \ No newline at end of file diff --git a/.secrets.baseline b/.secrets.baseline new file mode 100644 index 0000000..f34f920 --- /dev/null +++ b/.secrets.baseline @@ -0,0 +1,85 @@ +{ + "exclude": { + "files": "^.secrets.baseline$", + "lines": null + }, + "generated_at": "2024-04-12T10:58:17Z", + "plugins_used": [ + { + "name": "AWSKeyDetector" + }, + { + "name": "ArtifactoryDetector" + }, + { + "name": "AzureStorageKeyDetector" + }, + { + "base64_limit": 4.5, + "name": "Base64HighEntropyString" + }, + { + "name": "BasicAuthDetector" + }, + { + "name": "BoxDetector" + }, + { + "name": "CloudantDetector" + }, + { + "ghe_instance": "github.ibm.com", + "name": "GheDetector" + }, + { + "name": "GitHubTokenDetector" + }, + { + "hex_limit": 3, + "name": "HexHighEntropyString" + }, + { + "name": "IbmCloudIamDetector" + }, + { + "name": "IbmCosHmacDetector" + }, + { + "name": "JwtTokenDetector" + }, + { + "keyword_exclude": null, + "name": "KeywordDetector" + }, + { + "name": "MailchimpDetector" + }, + { + "name": "NpmDetector" + }, + { + "name": "PrivateKeyDetector" + }, + { + "name": "SlackDetector" + }, + { + "name": "SoftlayerDetector" + }, + { + "name": "SquareOAuthDetector" + }, + { + "name": "StripeDetector" + }, + { + "name": "TwilioKeyDetector" + } + ], + "results": {}, + "version": "0.13.1+ibm.62.dss", + "word_list": { + "file": null, + "hash": null + } +} diff --git a/Makefile b/Makefile new file mode 120000 index 0000000..fa1444d --- /dev/null +++ b/Makefile @@ -0,0 +1 @@ +common-dev-assets/module-assets/Makefile \ No newline at end of file diff --git a/README.md b/README.md index 1225832..66ea804 100644 --- a/README.md +++ b/README.md @@ -1 +1 @@ -# stack-ibm-template \ No newline at end of file +# stack-ibm-template diff --git a/ci b/ci new file mode 120000 index 0000000..f9d799a --- /dev/null +++ b/ci @@ -0,0 +1 @@ +common-dev-assets/module-assets/ci \ No newline at end of file diff --git a/common-dev-assets b/common-dev-assets new file mode 160000 index 0000000..a559956 --- /dev/null +++ b/common-dev-assets @@ -0,0 +1 @@ +Subproject commit a5599566815c2f29cfb29d587f1ccbfeb6f8e7c1 diff --git a/ibm_catalog.json b/ibm_catalog.json new file mode 100644 index 0000000..b175c79 --- /dev/null +++ b/ibm_catalog.json @@ -0,0 +1,20 @@ +{ + "products": [ + { + "label": "stack-template", + "name": "stack-template", + "version": "0.0.1", + "product_kind": "solution", + "tags": [ + "converged_infra" + ], + "offering_icon_url": "https://globalcatalog.cloud.ibm.com/api/v1/1082e7d2-5e2f-0a11-a3bc-f88a8e1931fc/artifacts/solution.svg", + "flavors": [ + { + "compliance": {}, + "architecture": {} + } + ] + } + ] +} diff --git a/stack_definition.json b/stack_definition.json new file mode 100644 index 0000000..c240e13 --- /dev/null +++ b/stack_definition.json @@ -0,0 +1,49 @@ +{ + "inputs": [], + "members": [ + { + "inputs": [ + { + "name": "resource_group", + "value": "__NULL__" + }, + { + "name": "resource_tags", + "value": "[]" + }, + { + "name": "testing", + "value": "__NULL__" + }, + { + "name": "prefix", + "value": "mock" + } + ], + "name": "primary-da", + "version_locator": "7df1e4ca-d54c-4fd0-82ce-3d13247308cd.a8887a40-ff3f-4ee8-bcfe-bcfd55360074" + }, + { + "inputs": [ + { + "name": "resource_group", + "value": "ref:/configs/primary-da/outputs/resource_group" + }, + { + "name": "resource_tags", + "value": "[]" + }, + { + "name": "testing", + "value": "__NULL__" + }, + { + "name": "prefix", + "value": "secondary" + } + ], + "name": "secondary-da", + "version_locator": "7df1e4ca-d54c-4fd0-82ce-3d13247308cd.a8887a40-ff3f-4ee8-bcfe-bcfd55360074" + } + ] +}