lab-1 Flashcards

1
Q

What is the required provider for Terraform in this configuration?

A

The required provider is ‘aci’ from ‘CiscoDevNet/aci’ with version ‘0.7’.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What variables are used for the ACI provider configuration?

A

The variables used are var.USER, var.PASS, and var.aciUrl.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What resource is used to create an ACI tenant?

A

The resource used is ‘aci_tenant’ with the name defined by var.tenantName.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the purpose of the ‘aci_application_profile’ resource?

A

It creates an application profile within the specified tenant.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How are contracts defined in the configuration?

A

Contracts are defined using the ‘aci_contract’ resource with a for_each loop over var.contracts.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What resource is used to create application EPGs?

A

The resource used is ‘aci_application_epg’ with a for_each loop over var.epgs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What does the ‘locals’ block define?

A

It defines ‘epgcontracts’, which flattens the relationships between EPGs and contracts.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the purpose of the ‘aci_epg_to_contract’ resource?

A

It creates relationships between EPGs and contracts based on the defined local variable.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the required provider for Terraform in this configuration?

A

The required provider is ‘aci’ from ‘CiscoDevNet/aci’ with version ‘0.7’.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What variables are used for the ACI provider configuration?

A

The variables used are var.USER, var.PASS, and var.aciUrl.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What resource is defined to create an ACI tenant?

A

The resource defined is ‘aci_tenant’ with the name ‘tenant1’.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the purpose of the ‘aci_application_profile’ resource?

A

It creates an application profile within the specified tenant.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

How are contracts created in the ACI configuration?

A

Contracts are created using the ‘aci_contract’ resource with a for_each loop over var.contracts.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What does the ‘aci_application_epg’ resource do?

A

It creates application endpoint groups (EPGs) based on the var.epgs variable.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the purpose of the ‘locals’ block in this configuration?

A

It flattens the list of contracts associated with each EPG for easier access.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What resource links EPGs to contracts?

A

The resource ‘aci_epg_to_contract’ links EPGs to contracts using a for_each loop.