diff --git a/app-dev/devops-and-containers/devops/oci-devops-terraform-function-java-graalvm/README.md b/app-dev/devops-and-containers/devops/oci-devops-terraform-function-java-graalvm/README.md index 8b8ab8948..9268c296c 100644 --- a/app-dev/devops-and-containers/devops/oci-devops-terraform-function-java-graalvm/README.md +++ b/app-dev/devops-and-containers/devops/oci-devops-terraform-function-java-graalvm/README.md @@ -70,18 +70,26 @@ Creating the stack in OCI Resource Manger fill in the vars:
  • initial_image that is used to create the OCI Function as target environment for the OCI DevOps deployment pipeline. By default it is loaded from Dockerhub, but you can use any X86 arch image if want to replace this
  • docker_user is your OCIR Docker user to push the initial image (above) to OCIR repo for the Function. Replace <namespace> with your tenancy namespace. oracleidentitycloudservice is only used for federated domains/users, not local
  • -
  • docker_password is your OCIR Docker user password (your user profile auth token in OCI)
  • +
  • docker_password is an auth token in your OCI user profile, create one for this
  • +Docker credentials are only used during the DevOps project creation to push the initial Function image and the DevOps project won't need them after it's been created by Terraform. Hence, you can delete the auth token from your profile after the stack has been run. +

    + After creation run Stacks's Apply to create the OCI DevOps project.

    The Stack creates only a private subnet in the VCN and hence the Function cannot be called outside the tenancy by default after the build and deploy. -
    -However, the Function invocation can be done from OCI Cloud Shell either by connecting to the VCN private subnet or to OCI Service Network, both options will work. The invocation can be done as follows using the Stack project_name e.g. : +

    +However, the Function invocation can be done from OCI Cloud Shell either by connecting to the VCN private subnet or to OCI Service Network, both options will work. The invocation can be done as follows using the Stack project_name e.g. :

     fn invoke helloworldai-java helloworldai-java
     
    +Since the stack creates the DevOps project with a target Function with the intial image it should already run and return: +
    +Hello, world!
    +
    + # Useful Links - [OCI DevOps](https://www.oracle.com/cloud/cloud-native/devops-service/)