add depends on
This commit is contained in:
parent
778bdc8a08
commit
520e3acd44
1 changed files with 2 additions and 0 deletions
|
|
@ -6,12 +6,14 @@ resource "stackit_objectstorage_bucket" "example" {
|
|||
resource "stackit_objectstorage_credentials_group" "example" {
|
||||
project_id = module.project.project_info["project2"].project_id
|
||||
name = "example-credentials-group"
|
||||
depends_on = [ stackit_objectstorage_bucket.example ]
|
||||
}
|
||||
|
||||
resource "stackit_objectstorage_credential" "example" {
|
||||
project_id = module.project.project_info["project2"].project_id
|
||||
credentials_group_id = stackit_objectstorage_credentials_group.example.credentials_group_id
|
||||
expiration_timestamp = "2027-01-02T03:04:05Z"
|
||||
depends_on = [ stackit_objectstorage_credentials_group.example ]
|
||||
}
|
||||
|
||||
// Output the credentials for the object storage
|
||||
|
|
|
|||
Loading…
Reference in a new issue