Skip to content

Commit

Permalink
v0.94
Browse files Browse the repository at this point in the history
  • Loading branch information
Everson4t committed Apr 14, 2021
1 parent f1dcfbd commit b39055e
Show file tree
Hide file tree
Showing 14 changed files with 12 additions and 12 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ endpoint = "https://cell-1.streaming.sa-saopaulo-1.oci.oraclecloud.com"

## Deploy Using Oracle Resource Manager

1. Click [![Deploy to Oracle Cloud](https://oci-resourcemanager-plugin.plugins.oci.oraclecloud.com/latest/deploy-to-oracle-cloud.svg)](https://cloud.oracle.com/resourcemanager/stacks/create?region=home&zipUrl=https://github.com/Everson4t/antivirus-for-objectstore/releases/download/v0.91/Antivirus-for-objectstore-latest.zip)
1. Click [![Deploy to Oracle Cloud](https://oci-resourcemanager-plugin.plugins.oci.oraclecloud.com/latest/deploy-to-oracle-cloud.svg)](https://cloud.oracle.com/resourcemanager/stacks/create?region=home&zipUrl=https://github.com/oracle-quickstart/oci-arch-clamd-object-storage/releases/latest/download/oci-arch-clamd-object-storage-stack-latest.zip)

If you aren't already signed in, when prompted, enter the tenancy and user credentials.

Expand All @@ -76,10 +76,9 @@ endpoint = "https://cell-1.streaming.sa-saopaulo-1.oci.oraclecloud.com"

7. If no further changes are necessary, return to the Stack Details page, click **Terraform Actions**, and select **Apply**.


## Deploy Using the Terraform CLI

### Clone the Module
### Clone the Module

Now, you'll want a local copy of this repo. You can make that with the commands:
```
Expand Down
2 changes: 1 addition & 1 deletion compute.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
resource "oci_core_instance" "ScanInstance" {
display_name = "ScanInstance"
display_name = "ScanInstance"
compartment_id = oci_identity_compartment.ScanCompart.id
availability_domain = lookup(data.oci_identity_availability_domains.availability_domains.availability_domains[0],"name")
shape = var.instance_shape
Expand Down
2 changes: 1 addition & 1 deletion datasources.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
data "oci_identity_availability_domains" "availability_domains" {
data "oci_identity_availability_domains" "availability_domains" {
compartment_id = oci_identity_compartment.ScanCompart.id
}

Expand Down
2 changes: 1 addition & 1 deletion identity.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
resource oci_identity_compartment ScanCompart {
resource oci_identity_compartment ScanCompart {
description = "Scan"
name = "Scan"
compartment_id = var.compartment_ocid
Expand Down
1 change: 1 addition & 0 deletions network.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
resource oci_core_vcn ScanVCN {
depends_on = [oci_identity_compartment.ScanCompart]
cidr_block = var.ScanVCN_CIDR
compartment_id = oci_identity_compartment.ScanCompart.id
defined_tags = {}
Expand Down
2 changes: 1 addition & 1 deletion output.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
output "public-ip-for-compute-instance" {
output "public-ip-for-compute-instance" {
value = oci_core_instance.ScanInstance.public_ip
}

Expand Down
2 changes: 1 addition & 1 deletion provider.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = ">= 0.12.0"
required_version = ">= 0.14"
}

provider "oci" {
Expand Down
Binary file removed resource-manager/Antivirus_for_objectstore.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion services.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
resource "oci_events_rule" "ScanEventRule" {
resource "oci_events_rule" "ScanEventRule" {
#Required
display_name = "ScanEventRule"
compartment_id = oci_identity_compartment.ScanCompart.id
Expand Down
2 changes: 1 addition & 1 deletion storage.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
resource "oci_objectstorage_bucket" "checkinobj" {
resource "oci_objectstorage_bucket" "checkinobj" {
#Required
compartment_id = oci_identity_compartment.ScanCompart.id
name = "checkinobj"
Expand Down
2 changes: 1 addition & 1 deletion tls.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
resource "tls_private_key" "public_private_key_pair" {
resource "tls_private_key" "public_private_key_pair" {
algorithm = "RSA"
}
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ variable "user_ocid"{}
variable "compartment_ocid" {}
variable "region" {}

variable "ScanVCN_CIDR" {
variable "ScanVCN_CIDR" {
default = "172.16.0.0/16"
}

Expand Down

0 comments on commit b39055e

Please sign in to comment.