AWS Apex Account
Requirements
Providers
Name |
Version |
apex |
>= 1.0.0-beta |
aws |
>= 5.50.0 |
time |
>= 0.11.1 |
Modules
Resources
Name |
Description |
Type |
Default |
Required |
aws_account_id |
The AWS account ID that you would like to connect to APEX |
string |
n/a |
yes |
aws_policy_name |
The name of the policy you would like to connect to APEX, defaults to APEX_AWS_POLICY |
string |
"APEX_AWS_POLICY" |
no |
aws_role_name |
The name of the role you would like to connect to APEX, defaults to APEX_AWS_ROLE |
string |
"APEX_AWS_ROLE" |
no |
Outputs
No outputs.
Example
/*
Copyright (c) 2024 Dell Inc., or its subsidiaries. All Rights Reserved.
Licensed under the Mozilla Public 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://mozilla.org/MPL/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.
*/
#################################
# Apex AWS Account Module
#################################
module "apex_aws_account" {
# Here points to the apex-aws-account submodule in the modules folder, this will have to update based on your enviorment.
source = "../../modules/apex-aws-account"
# Required Inputs
aws_account_id = var.aws_account_id
# Optional Inputs that have a default value if unset
aws_policy_name = var.aws_policy_name
aws_role_name = var.aws_role_name
}