chore(acceptance test): logme acceptance tests (#814)
This commit is contained in:
parent
53ec994a7d
commit
aa6c0df48b
3 changed files with 425 additions and 149 deletions
28
stackit/internal/services/logme/testdata/resource-min.tf
vendored
Normal file
28
stackit/internal/services/logme/testdata/resource-min.tf
vendored
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
variable "project_id" {}
|
||||
variable "name" {}
|
||||
variable "plan_name" {}
|
||||
variable "logme_version" {}
|
||||
|
||||
resource "stackit_logme_instance" "instance" {
|
||||
project_id = var.project_id
|
||||
name = var.name
|
||||
plan_name = var.plan_name
|
||||
version = var.logme_version
|
||||
}
|
||||
|
||||
resource "stackit_logme_credential" "credential" {
|
||||
project_id = stackit_logme_instance.instance.project_id
|
||||
instance_id = stackit_logme_instance.instance.instance_id
|
||||
}
|
||||
|
||||
|
||||
data "stackit_logme_instance" "instance" {
|
||||
project_id = stackit_logme_instance.instance.project_id
|
||||
instance_id = stackit_logme_instance.instance.instance_id
|
||||
}
|
||||
|
||||
data "stackit_logme_credential" "credential" {
|
||||
project_id = stackit_logme_credential.credential.project_id
|
||||
instance_id = stackit_logme_credential.credential.instance_id
|
||||
credential_id = stackit_logme_credential.credential.credential_id
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue