You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module"google_kms_key_ring_import_job" {
source="./modules/google-beta/r/google_kms_key_ring_import_job"# import_job_id - (required) is a type of stringimport_job_id=null# import_method - (required) is a type of stringimport_method=null# key_ring - (required) is a type of stringkey_ring=null# protection_level - (required) is a type of stringprotection_level=nulltimeouts=[{
create =null
delete =null
}]
}
variable"import_job_id" {
description="(required) - It must be unique within a KeyRing and match the regular expression [a-zA-Z0-9_-]{1,63}"type=string
}
variable"import_method" {
description="(required) - The wrapping method to be used for incoming key material. Possible values: [\"RSA_OAEP_3072_SHA1_AES_256\", \"RSA_OAEP_4096_SHA1_AES_256\"]"type=string
}
variable"key_ring" {
description="(required) - The KeyRing that this import job belongs to.\nFormat: ''projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}''."type=string
}
variable"protection_level" {
description="(required) - The protection level of the ImportJob. This must match the protectionLevel of the\nversionTemplate on the CryptoKey you attempt to import into. Possible values: [\"SOFTWARE\", \"HSM\", \"EXTERNAL\"]"type=string
}
variable"timeouts" {
description="nested block: NestingSingle, min items: 0, max items: 0"type=set(object(
{
create =string
delete =string
}
))
default=[]
}
resource"google_kms_key_ring_import_job""this" {
# import_job_id - (required) is a type of stringimport_job_id=var.import_job_id# import_method - (required) is a type of stringimport_method=var.import_method# key_ring - (required) is a type of stringkey_ring=var.key_ring# protection_level - (required) is a type of stringprotection_level=var.protection_leveldynamic"timeouts" {
for_each=var.timeoutscontent {
# create - (optional) is a type of stringcreate=timeouts.value["create"]
# delete - (optional) is a type of stringdelete=timeouts.value["delete"]
}
}
}
output"attestation" {
description="returns a list of object"value=google_kms_key_ring_import_job.this.attestation
}
output"expire_time" {
description="returns a string"value=google_kms_key_ring_import_job.this.expire_time
}
output"id" {
description="returns a string"value=google_kms_key_ring_import_job.this.id
}
output"name" {
description="returns a string"value=google_kms_key_ring_import_job.this.name
}
output"public_key" {
description="returns a list of object"value=google_kms_key_ring_import_job.this.public_key
}
output"state" {
description="returns a string"value=google_kms_key_ring_import_job.this.state
}
output"this" {
value=google_kms_key_ring_import_job.this
}