feat: add new attributes to git resource and datasource (#890)
* feat: add new attributes to git resource and datasource Signed-off-by: Mauritz Uphoff <mauritz.uphoff@stackit.cloud> * review changes Signed-off-by: Mauritz Uphoff <mauritz.uphoff@stackit.cloud> * review changes 2 Signed-off-by: Mauritz Uphoff <mauritz.uphoff@stackit.cloud> --------- Signed-off-by: Mauritz Uphoff <mauritz.uphoff@stackit.cloud>
This commit is contained in:
parent
3c5c8e0a6c
commit
2dda93bb76
9 changed files with 570 additions and 95 deletions
14
stackit/internal/services/git/testdata/resource-max.tf
vendored
Normal file
14
stackit/internal/services/git/testdata/resource-max.tf
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
|
||||
variable "project_id" {}
|
||||
variable "name" {}
|
||||
variable "acl" {}
|
||||
variable "flavor" {}
|
||||
|
||||
resource "stackit_git" "git" {
|
||||
project_id = var.project_id
|
||||
name = var.name
|
||||
acl = [
|
||||
var.acl
|
||||
]
|
||||
flavor = var.flavor
|
||||
}
|
||||
|
|
@ -4,5 +4,5 @@ variable "name" {}
|
|||
|
||||
resource "stackit_git" "git" {
|
||||
project_id = var.project_id
|
||||
name = var.name
|
||||
name = var.name
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue