Skip to content

Commit 13b84cc

Browse files
authored
Merge pull request #1205 from terraform-providers/release_gh
Releasing version 3.97.0
2 parents 9b59bf1 + 4f4f3c9 commit 13b84cc

File tree

6,027 files changed

+69187
-47130
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

6,027 files changed

+69187
-47130
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
## 3.97.0 (Unreleased)
2+
3+
### Added
4+
- Support for Setting up standby in an existing DB home
5+
- Support for logging saved search added
6+
- OpenAPI Support in API Gateway
7+
- Support for Autonomous Database with Dedicated Infrastructure - Autonomous Data Guard
8+
29
## 3.96.0 (October 07, 2020)
310

411
### Added

examples/api_gateway/api/api.tf

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
// Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
2+
// Licensed under the Mozilla Public License v2.0
3+
4+
variable "tenancy_ocid" {}
5+
variable "user_ocid" {}
6+
variable "fingerprint" {}
7+
variable "private_key_path" {}
8+
variable "region" {}
9+
variable "compartment_id" {}
10+
11+
variable "api_content" {
12+
default = "openapi: 3.0.0\ninfo:\n version: 1.0.0\n title: Test API\n license:\n name: MIT\npaths:\n /ping:\n get:\n responses:\n '200':\n description: OK"
13+
}
14+
15+
variable "api_state" {
16+
default = "ACTIVE"
17+
}
18+
19+
variable "api_display_name" {
20+
default = "test API definiton"
21+
}
22+
23+
provider "oci" {
24+
tenancy_ocid = var.tenancy_ocid
25+
user_ocid = var.user_ocid
26+
fingerprint = var.fingerprint
27+
private_key_path = var.private_key_path
28+
region = var.region
29+
}
30+
31+
resource "oci_apigateway_api" "test_api" {
32+
#Required
33+
compartment_id = var.compartment_id
34+
35+
#Optional
36+
content = var.api_content
37+
defined_tags = { "example-tag-namespace-all.example-tag" = "value" }
38+
39+
display_name = var.api_display_name
40+
freeform_tags = { "Department" = "Finance" }
41+
}
42+
43+
data "oci_apigateway_apis" "test_apis" {
44+
#Required
45+
compartment_id = var.compartment_id
46+
47+
#Optional
48+
display_name = var.api_display_name
49+
state = "ACTIVE"
50+
}
51+
52+
# Validation result details
53+
54+
data "oci_apigateway_api_validation" "test_api_validation" {
55+
#Required
56+
api_id = oci_apigateway_api.test_api.id
57+
}
58+
59+
# content of the Api definiton
60+
61+
data "oci_apigateway_api_content" "test_api_content" {
62+
#Required
63+
api_id = oci_apigateway_api.test_api.id
64+
}
65+
66+
# generated deployment specification
67+
68+
data "oci_apigateway_api_deployment_specification" "test_api_deployment_specification" {
69+
#Required
70+
api_id = oci_apigateway_api.test_api.id
71+
}

0 commit comments

Comments
 (0)