Ob'ektni baketga yuklash
Konfiguratsiya main.tf fayliga ob'ektni yuklashni qo'shing:
resource "clouparduz_storage_object" "txt1" {
key = "txt1"
source = "txt1.txt"
access_key = clouparduz_storage_access_key.mykey.key_id
secret_key = clouparduz_storage_access_key.mykey.key
bucket = clouparduz_storage_bucket.mybucket.name
}
|
Bu erda:
Source - manba
access_key - kirish kaliti
secret_key - maxfiy kalit
bucket - ob'ekt joylashtiriladigan maqsadli baket
clouparduz_storage_object resursining batafsil tavsifiga qarang