aviatrix_accountNivis Nix constructor for the aviatrix_account resource (provider aviatrix). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
account_name,
cloud_type,
alicloud_access_key ? null,
alicloud_account_id ? null,
alicloud_secret_key ? null,
arm_application_id ? null,
arm_application_key ? null,
arm_directory_id ? null,
arm_subscription_id ? null,
audit_account ? null,
aws_access_key ? null,
aws_account_number ? null,
aws_gateway_role_app ? null,
aws_gateway_role_ec2 ? null,
aws_iam ? null,
aws_role_app ? null,
aws_role_ec2 ? null,
aws_secret_key ? null,
awschina_access_key ? null,
awschina_account_number ? null,
awschina_iam ? null,
awschina_role_app ? null,
awschina_role_ec2 ? null,
awschina_secret_key ? null,
awsgov_access_key ? null,
awsgov_account_number ? null,
awsgov_iam ? null,
awsgov_role_app ? null,
awsgov_role_ec2 ? null,
awsgov_secret_key ? null,
awss_account_number ? null,
awss_ca_chain_cert ? null,
awss_cap_account_name ? null,
awss_cap_agency ? null,
awss_cap_cert ? null,
awss_cap_cert_key ? null,
awss_cap_role_name ? null,
awss_cap_url ? null,
awsts_account_number ? null,
awsts_ca_chain_cert ? null,
awsts_cap_agency ? null,
awsts_cap_cert ? null,
awsts_cap_cert_key ? null,
awsts_cap_mission ? null,
awsts_cap_role_name ? null,
awsts_cap_url ? null,
azurechina_application_id ? null,
azurechina_application_key ? null,
azurechina_directory_id ? null,
azurechina_subscription_id ? null,
azuregov_application_id ? null,
azuregov_application_key ? null,
azuregov_directory_id ? null,
azuregov_subscription_id ? null,
edge_csp_api_endpoint ? null,
edge_csp_password ? null,
edge_csp_username ? null,
edge_zededa_password ? null,
edge_zededa_username ? null,
gcloud_project_credentials_filepath ? null,
gcloud_project_id ? null,
id ? null,
oci_api_private_key_filepath ? null,
oci_compartment_id ? null,
oci_tenancy_id ? null,
oci_user_id ? null,
rbac_groups ? null,
overrides ? {}
}Required arguments
account_namecloud_type
Optional arguments
alicloud_access_key(defaults tonull)alicloud_account_id(defaults tonull)alicloud_secret_key(defaults tonull)arm_application_id(defaults tonull)arm_application_key(defaults tonull)arm_directory_id(defaults tonull)arm_subscription_id(defaults tonull)audit_account(defaults tonull)aws_access_key(defaults tonull)aws_account_number(defaults tonull)aws_gateway_role_app(defaults tonull)aws_gateway_role_ec2(defaults tonull)aws_iam(defaults tonull)aws_role_app(defaults tonull)aws_role_ec2(defaults tonull)aws_secret_key(defaults tonull)awschina_access_key(defaults tonull)awschina_account_number(defaults tonull)awschina_iam(defaults tonull)awschina_role_app(defaults tonull)awschina_role_ec2(defaults tonull)awschina_secret_key(defaults tonull)awsgov_access_key(defaults tonull)awsgov_account_number(defaults tonull)awsgov_iam(defaults tonull)awsgov_role_app(defaults tonull)awsgov_role_ec2(defaults tonull)awsgov_secret_key(defaults tonull)awss_account_number(defaults tonull)awss_ca_chain_cert(defaults tonull)awss_cap_account_name(defaults tonull)awss_cap_agency(defaults tonull)awss_cap_cert(defaults tonull)awss_cap_cert_key(defaults tonull)awss_cap_role_name(defaults tonull)awss_cap_url(defaults tonull)awsts_account_number(defaults tonull)awsts_ca_chain_cert(defaults tonull)awsts_cap_agency(defaults tonull)awsts_cap_cert(defaults tonull)awsts_cap_cert_key(defaults tonull)awsts_cap_mission(defaults tonull)awsts_cap_role_name(defaults tonull)awsts_cap_url(defaults tonull)azurechina_application_id(defaults tonull)azurechina_application_key(defaults tonull)azurechina_directory_id(defaults tonull)azurechina_subscription_id(defaults tonull)azuregov_application_id(defaults tonull)azuregov_application_key(defaults tonull)azuregov_directory_id(defaults tonull)azuregov_subscription_id(defaults tonull)edge_csp_api_endpoint(defaults tonull)edge_csp_password(defaults tonull)edge_csp_username(defaults tonull)edge_zededa_password(defaults tonull)edge_zededa_username(defaults tonull)gcloud_project_credentials_filepath(defaults tonull)gcloud_project_id(defaults tonull)id(defaults tonull)oci_api_private_key_filepath(defaults tonull)oci_compartment_id(defaults tonull)oci_tenancy_id(defaults tonull)oci_user_id(defaults tonull)rbac_groups(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
aws_ca_cert_pathawss_cap_cert_key_pathawss_cap_cert_pathawsts_cap_cert_key_pathawsts_cap_cert_path
Example
aviatrix_account {
name = "account";
account_name = …; # required
cloud_type = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.