Skip to content

Commit

Permalink
Add new field
Browse files Browse the repository at this point in the history
  • Loading branch information
tuteng committed Jan 2, 2025
1 parent f05e13a commit 1169a4e
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 3 deletions.
27 changes: 27 additions & 0 deletions examples/aws-prod/main.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Copyright 2023 StreamNative, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

provider "aws" {
region = "us-west-2"
}

module "sn_managed_cloud" {
source = "github.com/streamnative/terraform-managed-cloud//modules/aws/vendor-access?ref=v3.15.0"

external_id = "o-wak6b"

# This is for staging env
streamnative_vendor_access_role_arns = ["arn:aws:iam::311022431024:role/cloud-manager", "arn:aws:iam::554905616298:role/cloud-manager", "arn:aws:iam::738562057640:role/cloud-manager"]
streamnative_support_access_role_arns = ["arn:aws:iam::311022431024:role/cloud-support-general", "arn:aws:iam::554905616298:role/cloud-support-general", "arn:aws:iam::738562057640:role/cloud-support-general"]
}
4 changes: 1 addition & 3 deletions examples/volume-access/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,10 @@ module "sn_managed_cloud" {
bucket = "test-ursa-storage"
path = "ursa"

init_oidc_providers = true
oidc_providers = [
"oidc.eks.us-east-2.amazonaws.com/id/B1C90381FF99EB05EDE1C8E2C2884166",
"oidc.eks.us-east-2.amazonaws.com/id/9ACC7EF87FC7333990CF6BEFA7CEA816"
]

streamnative_vendor_access_role_arns = [
"arn:aws:iam::738562057640:role/cloud-manager",
]
}

0 comments on commit 1169a4e

Please sign in to comment.