File tree Expand file tree Collapse file tree 3 files changed +10
-9
lines changed
security/security-design/shared-assets/fn-datasafe-dbaudit-to-oci-logging/files Expand file tree Collapse file tree 3 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -22,19 +22,19 @@ resource "null_resource" "functionapp_push2ocir" {
22
22
working_dir = " ${ path . module } /${ local . fn_working_dir } "
23
23
}
24
24
25
- provisioner "local-exec" {
26
- command = " fn build --verbose"
27
- working_dir = " ${ path . module } /${ local . fn_working_dir } "
28
- }
25
+ # provisioner "local-exec" {
26
+ # command = "fn build --verbose"
27
+ # working_dir ="${path.module}/${local.fn_working_dir}"
28
+ # }
29
29
30
- provisioner "local-exec" {
31
- command = " image=$(docker images | grep ${ var . functionname } | awk -F ' ' '{print $3}') ; docker tag $image ${ local . fn_image } "
32
- working_dir = " ${ path . module } /${ local . fn_working_dir } "
33
- }
30
+ # provisioner "local-exec" {
31
+ # command = "image=$(docker images | grep ${var.functionname} | awk -F ' ' '{print $3}') ; docker tag $image ${local.fn_image}"
32
+ # working_dir = "${path.module}/${local.fn_working_dir}"
33
+ # }
34
34
35
35
provisioner "local-exec" {
36
36
# command = "docker push ${local.fn_image}"
37
- command = " fn -v deploy --app ${ local . fn_image } "
37
+ command = " fn -v deploy --app ${ var . functionname } "
38
38
working_dir = " ${ path . module } /${ local . fn_working_dir } "
39
39
}
40
40
Original file line number Diff line number Diff line change @@ -29,4 +29,5 @@ locals {
29
29
fn_working_dir = " function/${ var . functionname } "
30
30
fn_repository = " ${ local . ocir_docker_repository } /${ local . namespace } /${ oci_artifacts_container_repository . fn_container_repository . display_name } "
31
31
fn_image = " ${ local . fn_repository } :0.0.1"
32
+ fn_image_app = " ${ oci_artifacts_container_repository . fn_container_repository . display_name } :0.0.1"
32
33
}
You can’t perform that action at this time.
0 commit comments