cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1534
Views
0
Helpful
1
Replies

Cisco ASAv terraform deployment "copy" to running-config during startup

shalislav
Level 1
Level 1

Hello all,

Is there any way to load files into the flash or to running-config during the startup?

We deploy cisco ASAv with terraform, but since there is a 16K limitation on the config template, we're looking for an option how to load the missing configuration from AWS S3 bucket with "copy /noconfirm https://s3-bucket/..... running-config"

Is there any chance that "copy" command in startup-config would run? (testing so far shows that this is not working).

Does anyone have any other idea/experience on how to load the missing config and all the files (hostscan, anyconnect images, profile XMLs....) automatically after/during the startup - so that we don't have to login and run the "copy" by ourselves?

Thank you very much

 

 

1 Reply 1

Francesco Molino
VIP Alumni
VIP Alumni

Hi

 

Have you tried using remote-exec (apply remote command) and local-exec (scp copy) terraform providers?

 

I believe this is the only way you can achieve to automatically push a config to your ASAv.

 

Thanks


Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question
Review Cisco Networking products for a $25 gift card